2
0
Эх сурвалжийг харах

PMREMGenerator: Correctly reset the background (#22311)

Garrett Johnson 4 жил өмнө
parent
commit
fe93fd422c

+ 1 - 0
src/extras/PMREMGenerator.js

@@ -353,6 +353,7 @@ class PMREMGenerator {
 		renderer.toneMapping = toneMapping;
 		renderer.outputEncoding = outputEncoding;
 		renderer.autoClear = originalAutoClear;
+		scene.background = background;
 
 	}