fixed color linearity, and tweaked for VR
[vrfileman] / sdr / grid.v.glsl
1 varying vec3 vpos;
2
3 void main()
4 {
5         gl_Position = ftransform();
6         vpos = (gl_ModelViewMatrix * gl_Vertex).xyz;
7         gl_TexCoord[0].xy = gl_Vertex.xz * 330.0;
8 }