summaryrefslogtreecommitdiff
path: root/indra/newview/llreflectionmapmanager.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-06-22 13:25:50 -0500
committerDave Parks <davep@lindenlab.com>2022-06-22 13:25:50 -0500
commitd0d1b832d4983f35ab29947eb6fda54a8aa48f8a (patch)
treea07f61179a59d315d842dc08aa9d7fd52dc35e79 /indra/newview/llreflectionmapmanager.h
parent4273b262072553aaa1a805ff08008de95da47aac (diff)
SL-17600 Proper irradiance probes.
Diffstat (limited to 'indra/newview/llreflectionmapmanager.h')
-rw-r--r--indra/newview/llreflectionmapmanager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llreflectionmapmanager.h b/indra/newview/llreflectionmapmanager.h
index 551a461e63..5f0b11ec17 100644
--- a/indra/newview/llreflectionmapmanager.h
+++ b/indra/newview/llreflectionmapmanager.h
@@ -39,6 +39,7 @@ class LLViewerObject;
// reflection probe resolution
#define LL_REFLECTION_PROBE_RESOLUTION 256
+#define LL_IRRADIANCE_MAP_RESOLUTION 64
// reflection probe mininum scale
#define LL_REFLECTION_PROBE_MINIMUM_SCALE 1.f;
@@ -112,9 +113,12 @@ private:
std::vector<LLRenderTarget> mMipChain;
- // storage for reflection probes
+ // storage for reflection probe radiance maps (plus two scratch space cubemaps)
LLPointer<LLCubeMapArray> mTexture;
+ // storage for reflection probe irradiance maps
+ LLPointer<LLCubeMapArray> mIrradianceMaps;
+
// array indicating if a particular cubemap is free
bool mCubeFree[LL_REFLECTION_PROBE_COUNT];