glsl/template/v_shader.glsl
2011-04-30 09:32:14 -04:00

10 lines
153 B
GLSL

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