summaryrefslogtreecommitdiff
path: root/indra/newview/llheroprobemanager.h
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2023-08-21 07:59:06 -0700
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2023-08-21 07:59:06 -0700
commit0eba1396dcc7ec5c32124dbfd48abb75c1a5b524 (patch)
treed71800d411b7c8b109cef085edcd1d5760ad51e3 /indra/newview/llheroprobemanager.h
parent869bb7f16ae3e931f11840332ab00715a4ef27af (diff)
Experiment with placement a bit when there's no drawable.
DRTVWR-583
Diffstat (limited to 'indra/newview/llheroprobemanager.h')
-rw-r--r--indra/newview/llheroprobemanager.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/indra/newview/llheroprobemanager.h b/indra/newview/llheroprobemanager.h
index 95e3963d1a..c6df963cfd 100644
--- a/indra/newview/llheroprobemanager.h
+++ b/indra/newview/llheroprobemanager.h
@@ -30,6 +30,7 @@
#include "llrendertarget.h"
#include "llcubemaparray.h"
#include "llcubemap.h"
+#include "lldrawable.h"
class LLSpatialGroup;
class LLViewerObject;
@@ -67,6 +68,9 @@ public:
// perform occlusion culling on all active reflection probes
void doOcclusion();
+ void registerHeroDrawable(LLDrawable* drawablep);
+ void unregisterHeroDrawable(LLDrawable* drawablep);
+
private:
friend class LLPipeline;
@@ -118,10 +122,10 @@ private:
// maximum LoD of reflection probes (mip levels - 1)
F32 mMaxProbeLOD = 6.f;
- // amount to scale local lights during an irradiance map update (set during updateProbeFace and used by LLPipeline)
- F32 mLightScale = 1.f;
-
// 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;
};