This commit is contained in:
madegryc pc
2024-08-10 17:29:33 +02:00
parent 2f17dabad0
commit 506ab20c83
257 changed files with 184436 additions and 14 deletions

View File

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