diff options
author | aap <aap@papnet.eu> | 2020-05-11 17:03:32 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-11 17:03:44 +0200 |
commit | d4250fc2c7e382b095a4ae09daae4ee3beb65527 (patch) | |
tree | c2cf6c78147b1fc49c0a7ff2860eee616e8852d1 /src/core/main.cpp | |
parent | little fix for cam (diff) | |
download | re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar.gz re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar.bz2 re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar.lz re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar.xz re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar.zst re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.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 |