Parcourir la source

TextureUtils: Remove deprecated code. (#28996)

Michael Herzog il y a 1 an
Parent
commit
d906b2568a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      examples/jsm/utils/TextureUtils.js

+ 1 - 1
examples/jsm/utils/TextureUtils.js

@@ -34,7 +34,7 @@ export function decompress( texture, maxTextureSize = Infinity, renderer = null
 				gl_FragColor = vec4(vUv.xy, 0, 1);
 				
 				#ifdef IS_SRGB
-				gl_FragColor = LinearTosRGB( texture2D( blitTexture, vUv) );
+				gl_FragColor = sRGBTransferOETF( texture2D( blitTexture, vUv) );
 				#else
 				gl_FragColor = texture2D( blitTexture, vUv);
 				#endif

粤ICP备19079148号