Opentk/Source/Examples/Data/Shaders/Picking_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

9 lines
217 B
GLSL

#version 120
flat varying vec4 vColor; // must be flat, cannot have this interpolated in any way
void main(void)
{
vColor = gl_Color;
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; // ftransform();
}