diff options
author | Dave Parks <davep@lindenlab.com> | 2022-05-24 18:34:52 +0000 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-05-24 18:34:52 +0000 |
commit | 9f9465f5bd2160f0245805e32644ce37f8c6cca6 (patch) | |
tree | 311d04d5aca4a4ab6d0660a6bd5af2fb7bd5e45b /indra/newview/app_settings/shaders/class1/lighting/lightFullbrightAlphaMaskF.glsl | |
parent | c0aa1a1202678fdde0206c9372fb071c028cfe5b (diff) | |
parent | 3365a39080744af0566adb7b6efd8e53fc6b3339 (diff) |
Merged DRTVWR-563 into SL-17219
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/lighting/lightFullbrightAlphaMaskF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/lighting/lightFullbrightAlphaMaskF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/lighting/lightFullbrightAlphaMaskF.glsl b/indra/newview/app_settings/shaders/class1/lighting/lightFullbrightAlphaMaskF.glsl index 690821bb56..ad2170bbd3 100644 --- a/indra/newview/app_settings/shaders/class1/lighting/lightFullbrightAlphaMaskF.glsl +++ b/indra/newview/app_settings/shaders/class1/lighting/lightFullbrightAlphaMaskF.glsl @@ -43,14 +43,14 @@ VARYING vec2 vary_texcoord0; void fullbright_lighting() { - vec4 color = diffuseLookup(vary_texcoord0.xy) * vertex_color; + vec4 color = diffuseLookup(vary_texcoord0.xy); if (color.a < minimum_alpha) { discard; } - //color.rgb *= vertex_color.rgb; + color *= vertex_color; color.rgb = pow(color.rgb, vec3(texture_gamma)); |