CChozoGhost: Render uses SetMoveRedToAlphaBuffer

This commit is contained in:
Luke Street 2020-09-13 20:28:12 -04:00
parent 3e8369d24d
commit c8edf200de
1 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ void CChozoGhost::Render(CStateManager& mgr) {
if (mgr.GetPlayerState()->GetActiveVisor(mgr) == CPlayerState::EPlayerVisor::XRay) {
CElementGen::SetSubtractBlend(true);
CElementGen::g_ParticleSystemInitialized = true;
CElementGen::SetMoveRedToAlphaBuffer(true);
CGraphics::SetFog(ERglFogMode::PerspLin, 0.f, 75.f, zeus::skBlack);
mgr.SetupFogForArea3XRange(GetAreaIdAlways());
}
@ -218,7 +218,7 @@ void CChozoGhost::Render(CStateManager& mgr) {
GetModelData()->GetAnimationData()->GetParticleDB().RenderSystemsToBeDrawnLast();
mgr.SetupFogForArea(GetAreaIdAlways());
CElementGen::SetSubtractBlend(false);
CElementGen::g_ParticleSystemInitialized = false;
CElementGen::SetMoveRedToAlphaBuffer(false);
}
}