Used the proper Lod finction in the reflect debug material

define_list_fix
Nehon 9 years ago
parent f010f1be59
commit 6c2396f023
  1. 2
      jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Environment/envMapping100.frag
  2. 2
      jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Environment/envMapping130.frag

@ -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);
}

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