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;