goat3dgfx

annotate examples/cubemap/sdr/sky.p.glsl @ 13:25bf39105c82

lalal
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 27 Nov 2013 08:08:59 +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 }