Update leenkx/Shaders/compositor_pass/compositor_pass.frag.glsl

This commit is contained in:
LeenkxTeam 2025-04-05 10:47:18 +00:00
parent 074a51866f
commit 761b1832ad

View File

@ -502,6 +502,13 @@ fragColor.rgb = min(fragColor.rgb, 65504 * 0.5);
fragColor.rgb = pow(fragColor.rgb, vec3(1.0 / 2.2)); // To gamma fragColor.rgb = pow(fragColor.rgb, vec3(1.0 / 2.2)); // To gamma
fragColor.rgb = clamp(fragColor.rgb, 0.0, 2.2); fragColor.rgb = clamp(fragColor.rgb, 0.0, 2.2);
#endif #endif
#ifdef _CToneAgXSimple
fragColor.rgb = tonemapAgXSimple(fragColor.rgb);
fragColor.rgb = pow(fragColor.rgb, vec3(1.0 / 2.2)); // To gamma
#endif
#ifdef _CToneAgXFull
fragColor.rgb = tonemapAgXFull(fragColor.rgb);
#endif
#ifdef _CToneNone #ifdef _CToneNone
fragColor.rgb = pow(fragColor.rgb, vec3(1.0 / 2.2)); // To gamma fragColor.rgb = pow(fragColor.rgb, vec3(1.0 / 2.2)); // To gamma
#endif #endif