mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:47:43 +00:00
Water rendering order fix, morphball visor fixes
This commit is contained in:
@@ -38,6 +38,7 @@ void CMorphBallShadow::RenderIdBuffer(const zeus::CAABox& aabb, const CStateMana
|
||||
|
||||
GatherAreas(mgr);
|
||||
|
||||
SViewport backupVp = g_Viewport;
|
||||
g_Renderer->BindBallShadowIdTarget();
|
||||
CGraphics::g_BooMainCommandQueue->clearTarget();
|
||||
|
||||
@@ -94,6 +95,7 @@ void CMorphBallShadow::RenderIdBuffer(const zeus::CAABox& aabb, const CStateMana
|
||||
g_Renderer->BindMainDrawTarget();
|
||||
CGraphics::SetViewPointMatrix(backupViewMtx);
|
||||
CGraphics::SetProjectionState(backupProjection);
|
||||
g_Renderer->SetViewport(backupVp.x0_left, backupVp.x4_top, backupVp.x8_width, backupVp.xc_height);
|
||||
CGraphics::SetDepthRange(backupDepth[0], backupDepth[1]);
|
||||
|
||||
xd0_hasIds = alphaVal != 4;
|
||||
|
||||
Reference in New Issue
Block a user