uniform samplerCube _MainTex; void main () { gl_FragData[0] = textureCube (_MainTex, gl_TexCoord[0].xyz); }