Opentk/Source/Examples/Data/Shaders/Simple_VS.glsl
2007-11-11 18:43:16 +00:00

8 lines
193 B
GLSL

/* Copies incoming vertex color without change.
* Applies the transformation matrix to vertex position.
*/
void main()
{
gl_FrontColor = gl_Color;
gl_Position = ftransform();
}