glsl/lighting/v_shader.glsl
2011-04-30 19:47:55 -04:00

10 lines
163 B
GLSL

attribute vec3 pos;
attribute vec3 color;
void main(void)
{
gl_Position = gl_ModelViewProjectionMatrix * vec4(pos, 1);
gl_FrontColor = vec4(color, 1);
}