diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-08-19 22:35:10 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-08-19 22:35:10 +0200 |
commit | dab6d6dd6d9f45435daf6634018fef3def0fe6e1 (patch) | |
tree | 751cb947cfbf76af048a05b0540bcfe0758eeea1 /src/render/Renderer.cpp | |
parent | Merge branch 'master' into miami (diff) | |
parent | small stuff (diff) | |
download | re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar.gz re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar.bz2 re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar.lz re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar.xz re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar.zst re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.zip |
Diffstat (limited to 'src/render/Renderer.cpp')
-rw-r--r-- | src/render/Renderer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 66c12dd9..a6673135 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -21,6 +21,7 @@ #include "PointLights.h" #include "Occlusion.h" #include "Renderer.h" +#include "custompipes.h" //--MIAMI: file done @@ -243,6 +244,11 @@ CRenderer::RenderEverythingBarRoads(void) if(IsRoad(e)) continue; +#ifdef EXTENDED_PIPELINES + if(CustomPipes::bRenderingEnvMap && (e->IsPed() || e->IsVehicle())) + continue; +#endif + if(e->IsVehicle() || e->IsPed() && CVisibilityPlugins::GetClumpAlpha((RpClump*)e->m_rwObject) != 255){ if(e->IsVehicle() && PutIntoSortedVehicleList((CVehicle*)e)){ |