summaryrefslogtreecommitdiff
path: root/indra/newview/llheroprobemanager.h
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2023-08-29 05:08:47 -0700
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2023-08-29 05:08:47 -0700
commit348d427db6537746c5c8c9a0d1aa021f074afbb5 (patch)
treee2782a5638bd489d30dcd0bb1fd507e575cc1fe2 /indra/newview/llheroprobemanager.h
parentc5bfe869154cd4708c9bca63f08cb4c958198638 (diff)
Add a probe strength uniform for hero probes.
On standard reflection probes this doesn't really do anything. DRTVWR-583
Diffstat (limited to 'indra/newview/llheroprobemanager.h')
-rw-r--r--indra/newview/llheroprobemanager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llheroprobemanager.h b/indra/newview/llheroprobemanager.h
index c6df963cfd..24246af3d3 100644
--- a/indra/newview/llheroprobemanager.h
+++ b/indra/newview/llheroprobemanager.h
@@ -117,15 +117,18 @@ private:
U32 mReflectionProbeCount;
// resolution of reflection probes
- U32 mProbeResolution = 128;
+ U32 mProbeResolution = 1024;
// maximum LoD of reflection probes (mip levels - 1)
F32 mMaxProbeLOD = 6.f;
+
+ F32 mHeroProbeStrength = 1.f;
+ bool mIsInTransition = false;
// if true, reset all probe render state on the next update (for teleports and sky changes)
bool mReset = false;
LLDrawable::ordered_drawable_set_t mHeroList;
- LLDrawable* mNearestHero;
+ LLPointer<LLDrawable> mNearestHero;
};