Skip to content
Snippets Groups Projects
Commit 1b8dab78 authored by Michael Pohoreski's avatar Michael Pohoreski
Browse files

Merged in SL-12171_srgb_linear_fix (pull request #29)

SL-12171 Fix emissive mask being too bright post sRGB/Linear cleanup
parents 40526d54 b1e2615c
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ void main()
vec4 final_color = vec4(diffuse_linear.rgb, 0.0);
#if (DIFFUSE_ALPHA_MODE == DIFFUSE_ALPHA_MODE_EMISSIVE)
final_color.a = diffuse_linear.a;
final_color.a = diffuse_linear.a * 0.5; // SL-12171
#endif
final_color.a = max(final_color.a, emissive_brightness);
......
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