8000 Updated builds. · LikeABossProgrammer/three.js@63f8678 · GitHub
[go: up one dir, main page]

Skip to content

Commit 63f8678

Browse files
committed
Updated builds.
1 parent e0b2cdc commit 63f8678

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

build/three.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27795,7 +27795,7 @@ THREE.WebGLRenderer = function ( parameters ) {
2779527795
if ( isCube ) {
2779627796

2779727797
var textureProperties = properties.get( renderTarget.texture );
27798-
_gl.framebufferTexture2D( _gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, _gl.TEXTURE_CUBE_MAP_POSITIVE_X + renderTarget.activeCubeFace, textureProperties.__webglTexture, 0 );
27798+
_gl.framebufferTexture2D( _gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, _gl.TEXTURE_CUBE_MAP_POSITIVE_X + renderTarget.activeCubeFace, textureProperties.__webglTexture, renderTarget.activeMipMapLevel );
2779927799

2780027800
}
2780127801

@@ -28075,8 +28075,6 @@ THREE.WebGLRenderTarget.prototype = {
2807528075
this.depthBuffer = source.depthBuffer;
2807628076
this.stencilBuffer = source.stencilBuffer;
2807728077

28078-
this.shareDepthFrom = source.shareDepthFrom;
28079-
2808028078
return this;
2808128079

2808228080
},
@@ -28102,6 +28100,7 @@ THREE.We 10000 bGLRenderTargetCube = function ( width, height, options ) {
2810228100
THREE.WebGLRenderTarget.call( this, width, height, options );
2810328101

2810428102
this.activeCubeFace = 0; // PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5
28103+
this.activeMipMapLevel = 0;
2810528104

2810628105
};
2810728106

@@ -30028,6 +30027,9 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
3002830027
this.render = function ( scene, camera ) {
3002930028

3003030029
var faceCount, isPointLight;
30030+
var shadows = _lights.shadows;
30031+
30032+
if ( shadows.length === 0 ) return;
3003130033

3003230034
if ( scope.enabled === false ) return;
3003330035
if ( scope.autoUpdate === false && scope.needsUpdate === false ) return;
@@ -30043,8 +30045,6 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
3004330045

3004430046
// render depth map
3004530047

30046-
var shadows = _lights.shadows;
30047-
3004830048
for ( var i = 0, il = shadows.length; i < il; i ++ ) {
3004930049

3005030050
var light = shadows[ i ];
@@ -31031,6 +31031,9 @@ THREE.WebGLState = function ( gl, extensions, paramThreeToGL ) {
3103131031

3103231032
compressedTextureFormats = null;
3103331033

31034+
currentTextureSlot = undefined;
31035+
currentBoundTextures = {};
31036+
3103431037
currentBlending = null;
3103531038

3103631039
currentColorWrite = null;

build/three.min.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0