summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-04-29 13:07:57 -0700
committerGraham Linden <graham@lindenlab.com>2019-04-29 13:07:57 -0700
commit29f8e04ddba3b36776b295949d03ac44d6cb3b11 (patch)
treee04018635e95f96d21c7419d0e9c2fbdb2bee2f5 /indra/newview/pipeline.cpp
parent0f83696585b8810c24d535432716215caf0c21e9 (diff)
SL-11065
Modify is sun up logic to exclude condition of moon.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 95ee1ef488..4cd63de70c 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -10280,7 +10280,7 @@ void LLPipeline::generateSunShadow(LLCamera& camera)
//far_clip = llmin(far_clip, 128.f);
far_clip = llmin(far_clip, camera.getFar());
- //far_clip = llmax(far_clip, 256.0f);
+ far_clip = llmax(far_clip, 256.0f);
F32 range = far_clip-near_clip;