Kaynağa Gözat

Renderer: Use output color space conversion only when rendering to screen. (#28909)

Michael Herzog 1 yıl önce
ebeveyn
işleme
98341133fa
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/renderers/common/Renderer.js

+ 1 - 1
src/renderers/common/Renderer.js

@@ -457,7 +457,7 @@ class Renderer {
 		const { currentColorSpace } = this;
 
 		const useToneMapping = this._renderTarget === null && ( this.toneMapping !== NoToneMapping );
-		const useColorSpace = currentColorSpace !== LinearSRGBColorSpace && currentColorSpace !== NoColorSpace;
+		const useColorSpace = this._renderTarget === null && ( currentColorSpace !== LinearSRGBColorSpace && currentColorSpace !== NoColorSpace );
 
 		if ( useToneMapping === false && useColorSpace === false ) return null;