Skip to content
Snippets Groups Projects
Commit 6dbc72df authored by Dave Houlton's avatar Dave Houlton
Browse files

SL-10449 remove soft gamma adjustment that breaks Mac GLSL compiler

parent efd69ead
No related branches found
No related tags found
No related merge requests found
...@@ -336,7 +336,10 @@ void main() ...@@ -336,7 +336,10 @@ void main()
if (emissive_brightness >= 1.0) // fullbright, skip lighting calculations if (emissive_brightness >= 1.0) // fullbright, skip lighting calculations
{ {
color = fullbrightAtmosTransportFrag(diffuse_srgb.rgb, additive, atten); color = fullbrightAtmosTransportFrag(diffuse_srgb.rgb, additive, atten);
color = fullbrightScaleSoftClip(color); // This call breaks the Mac GLSL compiler/linker for unknown reasons (17Mar2020)
// The call is either a no-op or a pure (pow) gamma adjustment, depending on GPU level
// TODO: determine if we want to re-apply the gamma adjustment, and if so understand & fix Mac breakage
//color = fullbrightScaleSoftClip(color);
al = diffuse_srgb.a; al = diffuse_srgb.a;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment