goat3dgfx

view examples/cubemap/sdr/sky.p.glsl @ 26:940e5b1e2f92

once again, re-commit due to not saved changes to project files
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 27 Feb 2014 02:05:42 +0200
parents 3d96734fd477
children
line source
1 uniform samplerCube cubemap;
3 varying vec3 norm;
5 void main()
6 {
7 gl_FragColor = textureCube(cubemap, norm);
8 //gl_FragColor = vec4(norm * 0.5 + 0.5, 1.0);
9 }