diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-11 20:05:01 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-11 20:05:01 +0200 |
commit | 5f5babe7fe1330bfc2a4f420f7531c06d5af4795 (patch) | |
tree | c53d63372761cfa31bd56a90a3c5db025c3c35e8 /src/core/main.cpp | |
parent | garages + script (diff) | |
parent | CRenderer (diff) | |
download | re3-5f5babe7fe1330bfc2a4f420f7531c06d5af4795.tar re3-5f5babe7fe1330bfc2a4f420f7531c06d5af4795.tar.gz re3-5f5babe7fe1330bfc2a4f420f7531c06d5af4795.tar.bz2 re3-5f5babe7fe1330bfc2a4f420f7531c06d5af4795.tar.lz re3-5f5babe7fe1330bfc2a4f420f7531c06d5af4795.tar.xz re3-5f5babe7fe1330bfc2a4f420f7531c06d5af4795.tar.zst re3-5f5babe7fe1330bfc2a4f420f7531c06d5af4795.zip |
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index 6bf8228d..00ae3774 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -778,14 +778,17 @@ RenderScene(void) DoRWRenderHorizon(); CRenderer::RenderRoads(); CCoronas::RenderReflections(); - RwRenderStateSet(rwRENDERSTATEFOGENABLE, (void*)TRUE); CRenderer::RenderEverythingBarRoads(); - CRenderer::RenderBoats(); - DefinedState(); + RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE); CWaterLevel::RenderWater(); + CRenderer::RenderBoats(); + CRenderer::RenderFadingInUnderwaterEntities(); + RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE); + // CWaterLevel::RenderTransparentWater(); CRenderer::RenderFadingInEntities(); - CRenderer::RenderVehiclesButNotBoats(); + RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE); CWeather::RenderRainStreaks(); + // CCoronas::RenderSunReflection } void |