@@ -4,5 +4,5 @@ void main(){
//@input samplerCube cubeMap the cube map
//@output vec4 color the output color
- color = textureCube(cubeMap, refVec, 0.0);
+ color = textureCubeLod(cubeMap, refVec, 0.0);
}
- color = texture(cubeMap, refVec, 0.0);
+ color = textureLod(cubeMap, refVec, 0.0);