diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-11-13 17:26:14 -0800 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2024-01-19 15:43:13 -0800 |
commit | 2f18d74f9ab3165da680ce2ee2f0c455ce7e0796 (patch) | |
tree | eb5e264b470ebd6113db0965e09eddb95de9adb4 /indra/newview/llreflectionmapmanager.h | |
parent | c2a30057f8c8dde913d12c0ee21d98191f58c5f1 (diff) |
SL-20606: Full GLTF material preview. Works for most materials.
Diffstat (limited to 'indra/newview/llreflectionmapmanager.h')
-rw-r--r-- | indra/newview/llreflectionmapmanager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llreflectionmapmanager.h b/indra/newview/llreflectionmapmanager.h index b77a33da89..dd641452ae 100644 --- a/indra/newview/llreflectionmapmanager.h +++ b/indra/newview/llreflectionmapmanager.h @@ -106,6 +106,11 @@ public: // perform occlusion culling on all active reflection probes void doOcclusion(); + // *HACK: "cull" all reflection probes except the default one. Only call + // this if you don't intend to call updateUniforms directly. Call again + // with false when done. + void forceDefaultProbeAndUpdateUniforms(bool force = true); + private: friend class LLPipeline; |