Cube rendering in c!
This commit is contained in:
9
src/SimpleVertexShader.vertexshader
Normal file
9
src/SimpleVertexShader.vertexshader
Normal file
@ -0,0 +1,9 @@
|
||||
#version 330 core
|
||||
|
||||
layout(location = 0) in vec3 vertexPosition_modelspace;
|
||||
|
||||
uniform mat4 MVP;
|
||||
|
||||
void main(){
|
||||
gl_Position = MVP * vec4(vertexPosition_modelspace,1);
|
||||
}
|
Reference in New Issue
Block a user