X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrfileman;a=blobdiff_plain;f=sdr%2Fgrid.v.glsl;h=5e239dd7a3cff4fd84512da42d6b55037f33b043;hp=9f102eb198cc3c102193de42be942e474af49cfe;hb=cb2703917746784c4ea3408a049ff4297dfc268e;hpb=dd39621d642e417f1e343cbf813205a658272639 diff --git a/sdr/grid.v.glsl b/sdr/grid.v.glsl index 9f102eb..5e239dd 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 * 330.0; }