goat3dgfx

diff examples/cubemap/sdr/sky.v.glsl @ 6:3d96734fd477

cubemap loading and cubemap example program
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 17 Nov 2013 08:20:13 +0200
parents 18879c956eb1
children 25b911c7c35c
line diff
     1.1 --- a/examples/cubemap/sdr/sky.v.glsl	Sun Nov 17 03:22:40 2013 +0200
     1.2 +++ b/examples/cubemap/sdr/sky.v.glsl	Sun Nov 17 08:20:13 2013 +0200
     1.3 @@ -3,5 +3,5 @@
     1.4  void main()
     1.5  {
     1.6  	gl_Position = ftransform();
     1.7 -	norm = gl_NormalMatrix * gl_Normal;
     1.8 +	norm = gl_Vertex.xyz;
     1.9  }