mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
Graphics debug groups and bug fixes
This commit is contained in:
@@ -320,6 +320,8 @@ void CPlayerVisor::LockUnlockAssets() {
|
||||
}
|
||||
|
||||
void CPlayerVisor::DrawScanEffect(const CStateManager& mgr, const CTargetingManager* tgtMgr) const {
|
||||
SCOPED_GRAPHICS_DEBUG_GROUP("CPlayerVisor::DrawScanEffect", zeus::skMagenta);
|
||||
|
||||
bool indicatorsDrawn = DrawScanObjectIndicators(mgr);
|
||||
if (tgtMgr && indicatorsDrawn) {
|
||||
CGraphics::SetDepthRange(DEPTH_TARGET_MANAGER, DEPTH_TARGET_MANAGER);
|
||||
@@ -454,7 +456,10 @@ void CPlayerVisor::DrawScanEffect(const CStateManager& mgr, const CTargetingMana
|
||||
// cull faces
|
||||
}
|
||||
|
||||
void CPlayerVisor::DrawXRayEffect(const CStateManager&) const { const_cast<CCameraBlurPass&>(x90_xrayBlur).Draw(); }
|
||||
void CPlayerVisor::DrawXRayEffect(const CStateManager&) const {
|
||||
SCOPED_GRAPHICS_DEBUG_GROUP("CPlayerVisor::DrawXRayEffect", zeus::skMagenta);
|
||||
const_cast<CCameraBlurPass&>(x90_xrayBlur).Draw();
|
||||
}
|
||||
|
||||
void CPlayerVisor::DrawThermalEffect(const CStateManager&) const {
|
||||
// Empty
|
||||
|
||||
Reference in New Issue
Block a user