summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-04-20 15:37:50 -0500
committerDave Parks <davep@lindenlab.com>2011-04-20 15:37:50 -0500
commitecb8c4e718067b1fb567aa1182f213408ea8b463 (patch)
tree0c2a4fa1d3c6f09f31f0a2a8df61d457b460a4a7 /indra/newview
parent5cf5e4bb888e67dc1dd79eaec491b242a7f3a903 (diff)
SH-1411 Fix for shadows from large objects flickering at odd angles at certain times of day.
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/app_settings/settings.xml2
-rwxr-xr-xindra/newview/pipeline.cpp5
2 files changed, 1 insertions, 6 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 6d80a21483..80dfe16ee9 100755
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -8048,7 +8048,7 @@
<key>Type</key>
<string>F32</string>
<key>Value</key>
- <real>1.1</real>
+ <real>0.8</real>
</map>
<key>RenderShadowGaussian</key>
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index a533be675c..ec1f9173ff 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -9110,11 +9110,6 @@ void LLPipeline::generateSunShadow(LLCamera& camera)
fovx = acos(fovx);
fovz = acos(fovz);
- if (fovx > cutoff || llround(fovz, 0.01f) > cutoff)
- {
- // llerrs << "WTF?" << llendl;
- }
-
mShadowFOV.mV[j] = cutoff;
}