diff --git a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl index e08663e3ce862c294b7baea29c687cc4ad01d9bf..4198053c99ebc073b0a3c418f940ca6969cb991a 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl @@ -223,11 +223,10 @@ void main() // 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 // 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) - // { - // diffuse_srgb.a *= vertex_color.a; - // } + if (vertex_color.a > 0.0) + { + diffuse_srgb.a *= vertex_color.a; + } vec4 diffuse_linear = vec4(srgb_to_linear(diffuse_srgb.rgb), diffuse_srgb.a); #if (DIFFUSE_ALPHA_MODE == DIFFUSE_ALPHA_MODE_MASK)