Opentk/Source/Examples/Data/Shaders/Simple_VS.glsl
thefiddler 8dcb8601a2 Normalized line endings
Hopefully this is the first and last time we have to do this.
2013-10-11 01:58:54 +02:00

8 lines
186 B
GLSL

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