goat3dgfx

annotate examples/cubemap/sdr/sky.p.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 uniform samplerCube cubemap;
nuclear@5 2
nuclear@5 3 varying vec3 norm;
nuclear@5 4
nuclear@5 5 void main()
nuclear@5 6 {
nuclear@5 7 gl_FragColor = textureCube(cubemap, norm);
nuclear@5 8 }