goat3dgfx

annotate examples/cubemap/sdr/sky.p.glsl @ 29:9d581abd0bfb

merged
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Mar 2014 02:18:15 +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 }