12 lines
160 B
GLSL
12 lines
160 B
GLSL
|
#version 330 core
|
||
|
|
||
|
layout(location = 0) in vec3 pos;
|
||
|
|
||
|
uniform mat4 vp;
|
||
|
uniform mat4 model;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position = vp * model * vec4(pos, 1.0);
|
||
|
}
|