Used the proper Lod finction in the reflect debug material

This commit is contained in:
Nehon 2015-11-19 19:05:53 +01:00
parent f010f1be59
commit 6c2396f023
2 changed files with 2 additions and 2 deletions

View File

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

View File

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