goat3dgfx

annotate examples/cubemap/sdr/sky.p.glsl @ 15:7d6b667821cf

wrapped everything in the goatgfx namespace
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 30 Nov 2013 20:52:21 +0200
parents 3d96734fd477
children
rev   line source
nuclear@9 1 uniform samplerCube cubemap;
nuclear@9 2
nuclear@9 3 varying vec3 norm;
nuclear@9 4
nuclear@9 5 void main()
nuclear@9 6 {
nuclear@9 7 gl_FragColor = textureCube(cubemap, norm);
nuclear@9 8 //gl_FragColor = vec4(norm * 0.5 + 0.5, 1.0);
nuclear@9 9 }