1 2 3 4 5 6
uniform samplerCube tex; void main() { gl_FragColor = textureCube(tex, gl_TexCoord[0].xyz); }