diff options
author | Brad Linden <brad@lindenlab.com> | 2023-12-14 12:06:47 -0800 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2023-12-14 12:06:47 -0800 |
commit | c74dbc6e5b117bcd020c0efecf5255ad731f310f (patch) | |
tree | b2caaed53917fa9b3db03dee5c0b47dc905278c4 | |
parent | 1b1457154d644ce1da448445aef773666eca4a0f (diff) | |
parent | 9212e0944203fdbdefbaae01a89600a0050b3a36 (diff) |
Merge branch 'SL-20730' into DRTVWR-596
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/emissiveF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/emissiveF.glsl b/indra/newview/app_settings/shaders/class1/deferred/emissiveF.glsl index 9e61b6b894..c95f791dbf 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/emissiveF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/emissiveF.glsl @@ -34,6 +34,6 @@ void main() { // NOTE: when this shader is used, only alpha is being written to float a = diffuseLookup(vary_texcoord0.xy).a*vertex_color.a; - frag_color = vec4(0, 0, 0, a); + frag_color = max(vec4(0, 0, 0, a), vec4(0)); } |