Skip to content

Commit ce9022d

Browse files
committed
Updated builds.
1 parent e855bf6 commit ce9022d

File tree

2 files changed

+92
-91
lines changed

2 files changed

+92
-91
lines changed

build/three.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29654,6 +29654,7 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects, capabilities ) {
2965429654
_lightShadows = _lights.shadows,
2965529655

2965629656
_shadowMapSize = new THREE.Vector2(),
29657+
_maxShadowMapSize = new THREE.Vector2( capabilities.maxTextureSize, capabilities.maxTextureSize ),
2965729658

2965829659
_lookTarget = new THREE.Vector3(),
2965929660
_lightPositionWorld = new THREE.Vector3(),
@@ -29767,7 +29768,7 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects, capabilities ) {
2976729768
var shadowCamera = shadow.camera;
2976829769

2976929770
_shadowMapSize.copy( shadow.mapSize );
29770-
_shadowMapSize.min( capabilities.maxTextureSize, capabilities.maxTextureSize );
29771+
_shadowMapSize.min( _maxShadowMapSize );
2977129772

2977229773
if ( light instanceof THREE.PointLight ) {
2977329774

0 commit comments

Comments
 (0)