Nove repo opengl-learning
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#version 330 core
|
||||
|
||||
layout (location = 0) in vec3 aPos;
|
||||
|
||||
uniform mat4 PVM;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = PVM * vec4(aPos.xyz, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user