diff options
| author | Dave Parks <davep@lindenlab.com> | 2024-06-21 13:13:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-21 13:13:08 -0500 |
| commit | 80ea30af1a8b38360f71c29cc45872c4399dab0d (patch) | |
| tree | db07a706a4c896b11b8abca8a7d8815797a8d0be /indra/newview/lldrawpoolpbropaque.cpp | |
| parent | 9fb9e8f33cb33a1535f43b4be030009c192ea92b (diff) | |
#1769 gltf optimization pass (#1816)
#1814 and #1517 Fix mirror update rate and occlusion culling
Diffstat (limited to 'indra/newview/lldrawpoolpbropaque.cpp')
| -rw-r--r-- | indra/newview/lldrawpoolpbropaque.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolpbropaque.cpp b/indra/newview/lldrawpoolpbropaque.cpp index 5eb10fe335..4ea23412e6 100644 --- a/indra/newview/lldrawpoolpbropaque.cpp +++ b/indra/newview/lldrawpoolpbropaque.cpp @@ -54,7 +54,10 @@ void LLDrawPoolGLTFPBR::renderDeferred(S32 pass) { llassert(!LLPipeline::sRenderingHUDs); - LL::GLTFSceneManager::instance().renderOpaque(); + if (mRenderType == LLPipeline::RENDER_TYPE_PASS_GLTF_PBR_ALPHA_MASK) + { + LL::GLTFSceneManager::instance().renderOpaque(); + } gDeferredPBROpaqueProgram.bind(); pushGLTFBatches(mRenderType); |
