소스 검색

Update PMREMGenerator

Garrett Johnson 4 년 전
부모
커밋
c5fd82c715
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;