mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 06:29:59 +00:00
add debug render groups
This commit is contained in:
parent
1a429bb3c4
commit
9db87fc636
21 changed files with 132 additions and 0 deletions
|
@ -293,6 +293,7 @@ CVisibilityPlugins::RenderFadingEntities(void)
|
|||
continue;
|
||||
#endif
|
||||
mi = (CSimpleModelInfo *)CModelInfo::GetModelInfo(e->GetModelIndex());
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
if(mi->GetModelType() == MITYPE_SIMPLE && mi->m_noZwrite)
|
||||
#else
|
||||
|
@ -308,7 +309,9 @@ CVisibilityPlugins::RenderFadingEntities(void)
|
|||
DeActivateDirectional();
|
||||
SetAmbientColours();
|
||||
e->bImBeingRendered = true;
|
||||
PUSH_RENDERGROUP(mi->GetModelName());
|
||||
RenderFadingAtomic((RpAtomic*)e->m_rwObject, node->item.sort);
|
||||
POP_RENDERGROUP();
|
||||
e->bImBeingRendered = false;
|
||||
}else
|
||||
CRenderer::RenderOneNonRoad(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue