diff options
author | Dave Parks <davep@lindenlab.com> | 2022-05-04 16:07:50 +0000 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-05-04 16:07:50 +0000 |
commit | 93260cfeff2382dd1ffeecaef208d37bf21c2a01 (patch) | |
tree | a51461dd9f27c27931e2feb288920f7feff71480 /indra/newview/pipeline.h | |
parent | 82311e4b44a863078fb1f47d56e9543abaae210c (diff) |
SL-17283 LLReflectionMapManager prototype. Remove snapshot code related overhead from reflection map renders. Add parallax correction and support for multiple reflection maps.
Diffstat (limited to 'indra/newview/pipeline.h')
-rw-r--r-- | indra/newview/pipeline.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h index 150d3c7d58..29c93c199b 100644 --- a/indra/newview/pipeline.h +++ b/indra/newview/pipeline.h @@ -38,7 +38,7 @@ #include "llgl.h" #include "lldrawable.h" #include "llrendertarget.h" -#include "llenvironmentmap.h" +#include "llreflectionmapmanager.h" #include <stack> @@ -427,7 +427,7 @@ public: void hideObject( const LLUUID& id ); void restoreHiddenObject( const LLUUID& id ); - LLEnvironmentMap mEnvironmentMap; + LLReflectionMapManager mReflectionMapManager; void overrideEnvironmentMap(); private: @@ -661,6 +661,9 @@ public: //utility buffer for rendering cubes, 8 vertices are corners of a cube [-1, 1] LLPointer<LLVertexBuffer> mCubeVB; + //list of currently bound reflection maps + std::vector<LLReflectionMap*> mReflectionMaps; + //sun shadow map LLRenderTarget mShadow[6]; LLRenderTarget mShadowOcclusion[6]; |