goat3dgfx

annotate 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
rev   line source
nuclear@5 1 varying vec3 norm;
nuclear@5 2
nuclear@5 3 void main()
nuclear@5 4 {
nuclear@5 5 gl_Position = ftransform();
nuclear@5 6 norm = gl_NormalMatrix * gl_Normal;
nuclear@5 7 }