diff options
author | Dave Parks <davep@lindenlab.com> | 2022-10-11 16:33:51 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-10-11 16:33:51 -0500 |
commit | dafa93304335c3c48042e4b5a014dea2480f253f (patch) | |
tree | 6fddc41b3952de3d3542da59543e7c4b75cb886b /indra/newview/llviewerregion.cpp | |
parent | 3ac80d7ec2a1c04e3e4f191285aa5a19f071a40d (diff) |
SL-18190 Fix for mystery circle showing up on east side of reflection probes. Add one probe to rule them all as a fallback for pixels that aren't inside any influence volume.
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
-rw-r--r-- | indra/newview/llviewerregion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index 628d0ecc6a..3167d1161c 100644 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -1235,6 +1235,7 @@ U32 LLViewerRegion::getNumOfVisibleGroups() const void LLViewerRegion::updateReflectionProbes() { +#if 1 const F32 probe_spacing = 32.f; const F32 probe_radius = sqrtf((probe_spacing * 0.5f) * (probe_spacing * 0.5f) * 3.f); const F32 hover_height = 2.f; @@ -1270,6 +1271,7 @@ void LLViewerRegion::updateReflectionProbes() mReflectionMaps[idx]->mRadius = probe_radius; } } +#endif } void LLViewerRegion::addToVOCacheTree(LLVOCacheEntry* entry) |