summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-11-26 12:55:23 +0800
committerErik Kundiman <erik@megapahit.org>2024-11-26 12:55:23 +0800
commitc7c13c0a1ea6bc51c02cc5fda5b5975af53ede6f (patch)
tree5514f61d35c678169e43c10d82ab2c466b95a7d7 /indra/newview/app_settings/shaders/class2/deferred
parenta40795bd6ffcfff71bead4869d79cf5a73d5a7af (diff)
parent0de3cd8caeec33a66306f864de9cf55827dc5651 (diff)
Merge branch 'main' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl b/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
index e9f849a8c0..7357e27117 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
@@ -147,7 +147,7 @@ vec3 calcPointLightOrSpotLight(vec3 light_col, vec3 diffuse, vec3 v, vec3 n, vec
float lit = 0.0f;
float amb_da = 0.0;//ambiance;
- if (da > 0)
+ if (da > 0.0)
{
lit = max(da * dist_atten,0.0);
col = lit * light_col * diffuse;