Skip to content

Commit 42a2f6a

Browse files
Mugen87mrdoob
authored andcommitted
TextureUtils: Remove deprecated code. (#28996)
1 parent 067f8a0 commit 42a2f6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples/jsm/utils/TextureUtils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function decompress( texture, maxTextureSize = Infinity, renderer = null
3434
gl_FragColor = vec4(vUv.xy, 0, 1);
3535
3636
#ifdef IS_SRGB
37-
gl_FragColor = LinearTosRGB( texture2D( blitTexture, vUv) );
37+
gl_FragColor = sRGBTransferOETF( texture2D( blitTexture, vUv) );
3838
#else
3939
gl_FragColor = texture2D( blitTexture, vUv);
4040
#endif

0 commit comments

Comments
 (0)