Просмотр исходного кода

GLSLNodeBuilder: Fix color space regression. (#29945)

Michael Herzog 1 год назад
Родитель
Сommit
ca5af63b0d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js

+ 1 - 1
src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js

@@ -61,7 +61,7 @@ class GLSLNodeBuilder extends NodeBuilder {
 
 	}
 
-	needsColorSpaceToLinearSRGB( texture ) {
+	needsToWorkingColorSpace( texture ) {
 
 		return texture.isVideoTexture === true && texture.colorSpace !== NoColorSpace;
 

粤ICP备19079148号