why this glsl shader isn't working on hdr content? #240
Unanswered
geextahslex
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
TLDR: Does someone know why this works on SDR but isn't on HDR? The original shader worked on both and only 3 lines of code have changed... I marked them at the end
more info: This is a vibrance shader that has 2 conditions. The first one is the srgb threshold
float Thresh = 200.0/255.0;
the 2nd one is the saturation of the pixeldelta = smoothstep(0.8, 0.9, colorSat);
By "isn't working" I mean that it visually doesn't change anything. The shader is working in the pipeline but there is no visible effect.
Thank you :)
The original shader, works on SDR and HDR
Beta Was this translation helpful? Give feedback.
All reactions