|
@@ -2399,7 +2399,7 @@ function WebGLRenderer( parameters ) {
|
|
|
|
|
|
};
|
|
|
|
|
|
- this.getActiveMipMapLevel = function () {
|
|
|
+ this.getActiveMipmapLevel = function () {
|
|
|
|
|
|
return _currentActiveMipmapLevel;
|
|
|
|
|
@@ -2411,11 +2411,11 @@ function WebGLRenderer( parameters ) {
|
|
|
|
|
|
};
|
|
|
|
|
|
- this.setRenderTarget = function ( renderTarget, activeCubeFace, activeMipMapLevel ) {
|
|
|
+ this.setRenderTarget = function ( renderTarget, activeCubeFace, activeMipmapLevel ) {
|
|
|
|
|
|
_currentRenderTarget = renderTarget;
|
|
|
_currentActiveCubeFace = activeCubeFace;
|
|
|
- _currentActiveMipmapLevel = activeMipMapLevel;
|
|
|
+ _currentActiveMipmapLevel = activeMipmapLevel;
|
|
|
|
|
|
if ( renderTarget && properties.get( renderTarget ).__webglFramebuffer === undefined ) {
|
|
|
|
|
@@ -2471,7 +2471,7 @@ function WebGLRenderer( parameters ) {
|
|
|
if ( isCube ) {
|
|
|
|
|
|
var textureProperties = properties.get( renderTarget.texture );
|
|
|
- _gl.framebufferTexture2D( _gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, _gl.TEXTURE_CUBE_MAP_POSITIVE_X + ( activeCubeFace || 0 ), textureProperties.__webglTexture, activeMipMapLevel || 0 );
|
|
|
+ _gl.framebufferTexture2D( _gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, _gl.TEXTURE_CUBE_MAP_POSITIVE_X + ( activeCubeFace || 0 ), textureProperties.__webglTexture, activeMipmapLevel || 0 );
|
|
|
|
|
|
}
|
|
|
|