Browse Source

Update PMREMGenerator

Garrett Johnson 4 years ago
parent
commit
c5fd82c715
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extras/PMREMGenerator.js

+ 1 - 1
src/extras/PMREMGenerator.js

@@ -259,7 +259,7 @@ class PMREMGenerator {
 
 		const outputEncoding = renderer.outputEncoding;
 		const toneMapping = renderer.toneMapping;
-		_clearColor.copy( renderer.getClearColor() );
+		renderer.getClearColor( _clearColor );
 		const clearAlpha = renderer.getClearAlpha();
 
 		renderer.toneMapping = NoToneMapping;