1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-01 01:25:55 +00:00

fix backface culling on vehicles

This commit is contained in:
aap 2020-11-29 11:36:26 +01:00
parent c57fee38ca
commit 5282696699

View file

@ -216,6 +216,7 @@ CRenderer::RenderOneNonRoad(CEntity *e)
e->Render(); e->Render();
if(e->IsVehicle()){ if(e->IsVehicle()){
BACKFACE_CULLING_OFF;
e->bImBeingRendered = true; e->bImBeingRendered = true;
CVisibilityPlugins::RenderAlphaAtomics(); CVisibilityPlugins::RenderAlphaAtomics();
e->bImBeingRendered = false; e->bImBeingRendered = false;