X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrfileman;a=blobdiff_plain;f=sdr%2Fgrid.v.glsl;h=d6bda6ecbda9e21927f51af072d537dda237e20b;hp=9f102eb198cc3c102193de42be942e474af49cfe;hb=84320a4b92c1922cd40bd7ce3d942d19cc704bd2;hpb=dd39621d642e417f1e343cbf813205a658272639 diff --git a/sdr/grid.v.glsl b/sdr/grid.v.glsl index 9f102eb..d6bda6e 100644 --- a/sdr/grid.v.glsl +++ b/sdr/grid.v.glsl @@ -1,8 +1,8 @@ -varying vec3 pos, vpos; +varying vec3 vpos; void main() { gl_Position = ftransform(); - pos = gl_Vertex.xyz; vpos = (gl_ModelViewMatrix * gl_Vertex).xyz; + gl_TexCoord[0].xy = gl_Vertex.xz * 500.0; }