goat3dgfx

diff examples/cubemap/sdr/sky.v.glsl @ 5:18879c956eb1

- skycube example - added fatal_log - changed the dataset to keep the whole path while searching for data files
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 17 Nov 2013 03:22:40 +0200
parents
children 3d96734fd477
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/examples/cubemap/sdr/sky.v.glsl	Sun Nov 17 03:22:40 2013 +0200
     1.3 @@ -0,0 +1,7 @@
     1.4 +varying vec3 norm;
     1.5 +
     1.6 +void main()
     1.7 +{
     1.8 +	gl_Position = ftransform();
     1.9 +	norm = gl_NormalMatrix * gl_Normal;
    1.10 +}