stk-code_catmod/data/shaders/untextured_object.vert

13 lines
214 B
GLSL

#version 330
uniform mat4 ModelViewProjectionMatrix;
in vec3 Position;
in vec4 Color;
out vec4 color;
void main(void)
{
color = Color.zyxw;
gl_Position = ModelViewProjectionMatrix * vec4(Position, 1.);
}