goat3dgfx

annotate examples/cubemap/sdr/sky.p.glsl @ 7:89179bce7543

property sheets had not been saved previously
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 17 Nov 2013 09:13:27 +0200
parents 18879c956eb1
children 25b911c7c35c
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@6 8 //gl_FragColor = vec4(norm * 0.5 + 0.5, 1.0);
nuclear@5 9 }