Skip to content
Snippets Groups Projects
Commit b1e2615c authored by Ptolemy's avatar Ptolemy
Browse files

SL-12171 Fix emissive mask being too bright post sRGB/Linear cleanup

parent 40526d54
No related branches found
No related tags found
No related merge requests found
...@@ -254,7 +254,7 @@ void main() ...@@ -254,7 +254,7 @@ void main()
vec4 final_color = vec4(diffuse_linear.rgb, 0.0); vec4 final_color = vec4(diffuse_linear.rgb, 0.0);
#if (DIFFUSE_ALPHA_MODE == DIFFUSE_ALPHA_MODE_EMISSIVE) #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 #endif
final_color.a = max(final_color.a, emissive_brightness); 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