Opentk/Source/Examples/Data/Shaders/Picking_VS.glsl
2009-10-24 10:07:43 +00:00

9 lines
225 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();
}