Used the proper Lod finction in the reflect debug material
This commit is contained in:
parent
f010f1be59
commit
6c2396f023
@ -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);
|
||||||
}
|
}
|
@ -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);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user