goat3dgfx

annotate examples/cubemap/sdr/sky.p.glsl @ 9:25b911c7c35c

fixed some line endings fixed the cubemap2.jpg file in examples/cubemap/data which was resized improperly causing seams...
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 18 Nov 2013 04:10:19 +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 }