diff options
author | Dave Parks <davep@lindenlab.com> | 2010-05-04 00:45:28 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-05-04 00:45:28 -0500 |
commit | eb283701afc7ecbe3009a9fb75be1dcb222a383b (patch) | |
tree | ffd5490ac1ee3706f70884eb3d582ed4bb006505 /indra/newview/llvovolume.cpp | |
parent | 58defe76b0eed6f773b961e8ba5cd3aeb856467a (diff) |
Deferred pipeline integration of rigged attachments and cleanup.
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index e263f8d937..220634897e 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -3586,6 +3586,21 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group) { pool->addRiggedFace(facep, LLDrawPoolAvatar::RIGGED_GLOW); } + + if (LLPipeline::sRenderDeferred) + { + if (type != LLDrawPool::POOL_ALPHA && !te->getFullbright()) + { + if (te->getBumpmap()) + { + pool->addRiggedFace(facep, LLDrawPoolAvatar::RIGGED_DEFERRED_BUMP); + } + else + { + pool->addRiggedFace(facep, LLDrawPoolAvatar::RIGGED_DEFERRED_SIMPLE); + } + } + } } } |