From 5a10b11b0d306334cd80f52f267ca8c525672062 Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Tue, 13 Sep 2022 17:16:00 -0500 Subject: SL-17701 WIP -- Hook PBR transparency parameter up to alpha pass. --- indra/newview/app_settings/shaders/class1/deferred/pbralphaF.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbralphaF.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbralphaF.glsl index 36d5b8a099..d91cd63953 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/pbralphaF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/pbralphaF.glsl @@ -302,5 +302,5 @@ void main() col += 2.0*additive; col = scaleSoftClipFrag(col); - frag_color = vec4(col,albedo.a); + frag_color = vec4(col,albedo.a * vertex_color.a); } -- cgit v1.2.3