void LLDrawPoolBump::endRenderPass(S32 pass) { LLFastTimer t(FTM_RENDER_BUMP); switch( pass ) { case 0: endShiny(); break; case 1: if (mVertexShaderLevel > 1) { endFullbrightShiny(); } else { endBump(); } break; case 2: endBump(); break; default: llassert(0); break; } //to cleanup texture channels LLRenderPass::endRenderPass(pass); }
void LLDrawPoolBump::endPostDeferredPass(S32 pass) { switch (pass) { case 0: endFullbrightShiny(); break; case 1: endBump(LLRenderPass::PASS_POST_BUMP); break; } }
void LLDrawPoolBump::endPostDeferredPass(S32 pass) { switch (pass) { case 0: endFullbrightShiny(); break; case 1: endBump(LLRenderPass::PASS_POST_BUMP); break; } //to disable texture channels LLRenderPass::endRenderPass(pass); }