super-three 0.173.1 → 0.173.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/three.cjs +63 -577
- package/build/three.core.js +0 -15
- package/build/three.core.min.js +1 -1
- package/build/three.module.js +64 -563
- package/build/three.module.min.js +1 -1
- package/package.json +1 -1
- package/src/renderers/webgl/WebGLTextures.js +1 -2
package/package.json
CHANGED
|
@@ -1580,7 +1580,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
|
|
|
1580
1580
|
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
|
-
} else if ( renderTarget.depthBuffer
|
|
1583
|
+
} else if ( renderTarget.depthBuffer ) {
|
|
1584
1584
|
|
|
1585
1585
|
// retrieve the depth attachment types
|
|
1586
1586
|
const depthTexture = renderTarget.depthTexture;
|
|
@@ -1670,7 +1670,6 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
|
|
|
1670
1670
|
|
|
1671
1671
|
}
|
|
1672
1672
|
|
|
1673
|
-
setTexture2D( renderTarget.depthTexture, 0 );
|
|
1674
1673
|
if ( renderTarget.depthTexture.image.depth != 1 ) {
|
|
1675
1674
|
|
|
1676
1675
|
setTexture2DArray( renderTarget.depthTexture, 0 );
|