Explorar o código

Replace Texture with Texture3D for emptyTexture3d in WebGLUniforms

Takahiro %!s(int64=7) %!d(string=hai) anos
pai
achega
04bb24d5ef
Modificáronse 1 ficheiros con 1 adicións e 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号