Backed out changeset: e83fc259df7e - has unwanted side effects
parent
151e526177
commit
3ada00c138
|
|
@ -703,7 +703,7 @@ void LLDrawPoolAvatar::beginDeferredImpostor()
|
|||
specular_channel = sVertexProgram->enableTexture(LLViewerShaderMgr::SPECULAR_MAP);
|
||||
normal_channel = sVertexProgram->enableTexture(LLViewerShaderMgr::DEFERRED_NORMAL);
|
||||
sDiffuseChannel = sVertexProgram->enableTexture(LLViewerShaderMgr::DIFFUSE_MAP);
|
||||
sVertexProgram->bind();
|
||||
gPipeline.bindDeferredShader(*sVertexProgram);
|
||||
sVertexProgram->setMinimumAlpha(0.01f);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4123,6 +4123,11 @@ void renderAvatarCollisionVolumes(LLVOAvatar* avatar)
|
|||
avatar->renderCollisionVolumes();
|
||||
}
|
||||
|
||||
void renderAvatarJoints(LLVOAvatar* avatar)
|
||||
{
|
||||
avatar->renderJoints();
|
||||
}
|
||||
|
||||
void renderAgentTarget(LLVOAvatar* avatar)
|
||||
{
|
||||
// render these for self only (why, i don't know)
|
||||
|
|
@ -4280,6 +4285,11 @@ public:
|
|||
renderAvatarCollisionVolumes(avatar);
|
||||
}
|
||||
|
||||
if (avatar && gPipeline.hasRenderDebugMask(LLPipeline::RENDER_DEBUG_AVATAR_JOINTS))
|
||||
{
|
||||
renderAvatarJoints(avatar);
|
||||
}
|
||||
|
||||
if (avatar && gPipeline.hasRenderDebugMask(LLPipeline::RENDER_DEBUG_AGENT_TARGET))
|
||||
{
|
||||
renderAgentTarget(avatar);
|
||||
|
|
@ -4563,6 +4573,7 @@ void LLSpatialPartition::renderDebug()
|
|||
LLPipeline::RENDER_DEBUG_TEXTURE_ANIM |
|
||||
LLPipeline::RENDER_DEBUG_RAYCAST |
|
||||
LLPipeline::RENDER_DEBUG_AVATAR_VOLUME |
|
||||
LLPipeline::RENDER_DEBUG_AVATAR_JOINTS |
|
||||
LLPipeline::RENDER_DEBUG_AGENT_TARGET |
|
||||
//LLPipeline::RENDER_DEBUG_BUILD_QUEUE |
|
||||
LLPipeline::RENDER_DEBUG_SHADOW_FRUSTA |
|
||||
|
|
|
|||
Loading…
Reference in New Issue