summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-12-14 14:11:46 -0600
committerRunitaiLinden <davep@lindenlab.com>2023-12-14 14:11:46 -0600
commit8b86e2ad1b1326cb3e98acd857dc93f4f1455b8c (patch)
tree093646ed0bbe4c06b3f6fe7ee151fc3d82ac5b50 /indra/newview/app_settings/shaders/class3
parent7bfe590a3669a005d4269cdcf378891080264dce (diff)
SL-20611 Followup -- fix for depth based atmospheric mask making atmospherics effect sun/moon/clouds
Diffstat (limited to 'indra/newview/app_settings/shaders/class3')
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/hazeF.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/hazeF.glsl b/indra/newview/app_settings/shaders/class3/deferred/hazeF.glsl
index 229f332b36..0b154e82ad 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/hazeF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/hazeF.glsl
@@ -78,13 +78,12 @@ void main()
do_atmospherics = true;
}
-
vec3 irradiance = vec3(0);
vec3 radiance = vec3(0);
if (depth >= 1.0)
{
- //should only be true of WL sky, just port over base color value
+ //should only be true of sky, clouds, sun/moon, and stars
discard;
}