void LLDrawPoolAvatar::beginPostDeferredPass(S32 pass) { switch (pass) { case 0: beginPostDeferredAlpha(); break; case 1: beginRiggedFullbright(); break; case 2: beginRiggedFullbrightShiny(); break; case 3: beginDeferredRiggedAlpha(); break; case 4: beginRiggedFullbrightAlpha(); break; case 9: beginRiggedGlow(); break; default: beginDeferredRiggedMaterialAlpha(pass-5); break; } }
void LLDrawPoolAvatar::beginRenderPass(S32 pass) { LLFastTimer t(LLFastTimer::FTM_RENDER_CHARACTERS); //reset vertex buffer mappings LLVertexBuffer::unbind(); if (pass == 0) { //make sure no stale colors are left over from a previous render glColor4f(1, 1, 1, 1); } if (LLPipeline::sImpostorRender) { //impostor render does not have impostors or rigid rendering pass += 2; } switch (pass) { case 0: beginImpostor(); break; case 1: beginRigid(); break; case 2: beginSkinned(); break; case 3: beginRiggedSimple(); break; case 4: beginRiggedFullbright(); break; case 5: beginRiggedShinySimple(); break; case 6: beginRiggedFullbrightShiny(); break; case 7: beginRiggedAlpha(); break; case 8: beginRiggedFullbrightAlpha(); break; case 9: beginRiggedGlow(); break; } }
void LLDrawPoolAvatar::beginRiggedGlow() { beginRiggedFullbright(); }
void LLDrawPoolAvatar::beginRiggedFullbrightAlpha() { beginRiggedFullbright(); }