summaryrefslogtreecommitdiff
path: root/indra/newview/llreflectionmapmanager.h
diff options
context:
space:
mode:
authorMichael Pohoreski <ptolemy@lindenlab.com>2022-06-23 14:53:07 +0000
committerMichael Pohoreski <ptolemy@lindenlab.com>2022-06-23 14:53:07 +0000
commitd67e1f4f91e4b206e36343ee31fa4877dd58c01c (patch)
tree0caf93cd03728bb4c5fbd52fb339531c765c6676 /indra/newview/llreflectionmapmanager.h
parent36d9fa90150d30a0a0851cc0da87531014c1d93d (diff)
parent6540b4c480d1d4b4c8342a0d093d09f525485659 (diff)
Merged DRTVWR-559 into SL-17274_view_dir
Diffstat (limited to 'indra/newview/llreflectionmapmanager.h')
-rw-r--r--indra/newview/llreflectionmapmanager.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llreflectionmapmanager.h b/indra/newview/llreflectionmapmanager.h
index 3b5cdc5520..5f0b11ec17 100644
--- a/indra/newview/llreflectionmapmanager.h
+++ b/indra/newview/llreflectionmapmanager.h
@@ -29,6 +29,7 @@
#include "llreflectionmap.h"
#include "llrendertarget.h"
#include "llcubemaparray.h"
+#include "llcubemap.h"
class LLSpatialGroup;
class LLViewerObject;
@@ -38,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;
@@ -111,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];