|
@@ -2004,7 +2004,7 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
}
|
|
|
|
|
|
uniforms.shadowMatrix.value[ j ] = light.shadowMatrix;
|
|
|
- uniforms.shadowMap.value[ j ] = light.shadowMap;
|
|
|
+ uniforms.shadowMap.value[ j ] = light.shadowMap;
|
|
|
uniforms.shadowMapSize.value[ j ] = light.shadowMapSize;
|
|
|
uniforms.shadowBias.value[ j ] = light.shadowBias;
|
|
|
|
|
@@ -2369,7 +2369,7 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
if ( ! texture ) continue;
|
|
|
|
|
|
if ( texture instanceof THREE.CubeTexture ||
|
|
|
- ( texture.image instanceof Array && texture.image.length === 6 ) ) {
|
|
|
+ ( texture.image instanceof Array && texture.image.length === 6 ) ) {
|
|
|
|
|
|
// CompressedTexture can have Array in image :/
|
|
|
|
|
@@ -3183,7 +3183,7 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
if ( isCube ) {
|
|
|
|
|
|
var textureProperties = properties.get( renderTarget.texture );
|
|
|
- _gl.framebufferTexture2D( _gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, _gl.TEXTURE_CUBE_MAP_POSITIVE_X + renderTarget.activeCubeFace, textureProperties.__webglTexture, 0 );
|
|
|
+ _gl.framebufferTexture2D( _gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, _gl.TEXTURE_CUBE_MAP_POSITIVE_X + renderTarget.activeCubeFace, textureProperties.__webglTexture, 0 );
|
|
|
|
|
|
}
|
|
|
|