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

9 lines
217 B
Plaintext
Raw Normal View History

#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();
}