Explorar el Código

WebGLProgram: support cube uv refaction mapping

Guilherme Avila hace 5 años
padre
commit
e08f8c9ab3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/renderers/webgl/WebGLProgram.js

+ 1 - 0
src/renderers/webgl/WebGLProgram.js

@@ -340,6 +340,7 @@ function generateEnvMapModeDefine( parameters ) {
 
 			case CubeRefractionMapping:
 			case EquirectangularRefractionMapping:
+			case CubeUVRefractionMapping:
 				envMapModeDefine = 'ENVMAP_MODE_REFRACTION';
 				break;