Opentk/Source/Examples/Data/Shaders/Simple_VS.glsl

8 lines
186 B
Plaintext
Raw Normal View History

/* Copies incoming vertex color without change.
* Applies the transformation matrix to vertex position.
*/
void main()
{
gl_FrontColor = gl_Color;
gl_Position = ftransform();
2007-11-11 18:43:16 +00:00
}