mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
fix backface culling on vehicles
This commit is contained in:
parent
c57fee38ca
commit
5282696699
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user