Skip to content
Snippets Groups Projects
Commit 7af90c5e authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Revert "Unbreak Niran's face by reverting the hack in 09b13b39"

This reverts commit d67f05f9.
parent 88c55f5e
No related branches found
No related tags found
No related merge requests found
...@@ -223,11 +223,10 @@ void main() ...@@ -223,11 +223,10 @@ void main()
// fully opaque and for fully transparent objects. This code assumes the 0 alpha // fully opaque and for fully transparent objects. This code assumes the 0 alpha
// is always from the opaque end of the scale. TODO: Remove the conditional once // is always from the opaque end of the scale. TODO: Remove the conditional once
// the root cause of the slider ambiguity is fixed. // the root cause of the slider ambiguity is fixed.
// <Alchemy:Rye>: This broke alpha masked material content. REVERT UNTIL THEY FIX IT. if (vertex_color.a > 0.0)
// if (vertex_color.a > 0.0) {
// { diffuse_srgb.a *= vertex_color.a;
// diffuse_srgb.a *= vertex_color.a; }
// }
vec4 diffuse_linear = vec4(srgb_to_linear(diffuse_srgb.rgb), diffuse_srgb.a); vec4 diffuse_linear = vec4(srgb_to_linear(diffuse_srgb.rgb), diffuse_srgb.a);
#if (DIFFUSE_ALPHA_MODE == DIFFUSE_ALPHA_MODE_MASK) #if (DIFFUSE_ALPHA_MODE == DIFFUSE_ALPHA_MODE_MASK)
......
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