Explorar el Código

Replace Texture with Texture3D for emptyTexture3d in WebGLUniforms

Takahiro hace 7 años
padre
commit
04bb24d5ef
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/renderers/webgl/WebGLUniforms.js

+ 1 - 1
src/renderers/webgl/WebGLUniforms.js

@@ -53,7 +53,7 @@ import { CubeTexture } from '../../textures/CubeTexture.js';
 import { Texture } from '../../textures/Texture.js';
 
 var emptyTexture = new Texture();
-var emptyTexture3d = new Texture();
+var emptyTexture3d = new Texture3D();
 var emptyCubeTexture = new CubeTexture();
 
 // --- Base for inner nodes (including the root) ---

粤ICP备19079148号