You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm looking for help with a glsl shader. I want to combine float a and float b to get I2 but I have no idea how to implement it.
I want the low information (like srgb 0-180) from float a and the high information (like srgb 180-255) from float b to get I2. So like legs from a and torso from b I'm a noob in glsl but I will try out any suggestions.
For demonstration purposes I color coded the picture. The green should come from float a (dark/low luminance) and the yellow should come from float b (bright/high luminance)
The text was updated successfully, but these errors were encountered:
geextahslex
changed the title
glsl shader output range (question)
glsl shader output threshold (question)
Feb 29, 2024
Hi, I'm looking for help with a glsl shader. I want to combine
float a
andfloat b
to getI2
but I have no idea how to implement it.I want the low information (like srgb 0-180) from
float a
and the high information (like srgb 180-255) fromfloat b
to getI2
. So like legsfrom a
and torsofrom b
I'm a noob in glsl but I will try out any suggestions.Any help would be appreciated :)
This is the shader
For demonstration purposes I color coded the picture. The green should come from
float a
(dark/low luminance) and the yellow should come fromfloat b
(bright/high luminance)The text was updated successfully, but these errors were encountered: