goat3dgfx

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/examples/cubemap/sdr/sky.p.glsl	Sun Nov 17 03:22:40 2013 +0200
     1.3 @@ -0,0 +1,8 @@
     1.4 +uniform samplerCube cubemap;
     1.5 +
     1.6 +varying vec3 norm;
     1.7 +
     1.8 +void main()
     1.9 +{
    1.10 +	gl_FragColor = textureCube(cubemap, norm);
    1.11 +}