]> git.lizzy.rs Git - irrlicht.git/blob - media/cubeMapReflection.frag
Merging r6039 through r6072 from trunk to ogl-es branch.
[irrlicht.git] / media / cubeMapReflection.frag
1 uniform samplerCube cubeTex;\r
2 uniform float Roughness;\r
3 \r
4 void main( void )\r
5 {\r
6 //      gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);\r
7         vec3 uvw = vec3(gl_TexCoord[0]);\r
8         //gl_FragColor = textureCube( cubeTex, uvw );\r
9         gl_FragColor = textureLod( cubeTex, uvw, Roughness );\r
10         //gl_FragColor = textureCube( cubeTex, uvw, Roughness );\r
11 }\r
12 \r