diff options
author | aap <aap@papnet.eu> | 2020-11-04 23:11:27 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-11-04 23:11:27 +0100 |
commit | 67c894cda9b1415b73a5fafd155c149d53681ad1 (patch) | |
tree | d8bf73ef588dacabbb2d786d4201ac1d59dd4cb6 /src/core | |
parent | fixed vehicle and ped sorting for new renderer (diff) | |
download | re3-67c894cda9b1415b73a5fafd155c149d53681ad1.tar re3-67c894cda9b1415b73a5fafd155c149d53681ad1.tar.gz re3-67c894cda9b1415b73a5fafd155c149d53681ad1.tar.bz2 re3-67c894cda9b1415b73a5fafd155c149d53681ad1.tar.lz re3-67c894cda9b1415b73a5fafd155c149d53681ad1.tar.xz re3-67c894cda9b1415b73a5fafd155c149d53681ad1.tar.zst re3-67c894cda9b1415b73a5fafd155c149d53681ad1.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/main.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index a057e55b..92e939ad 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -876,7 +876,6 @@ MattRenderScene(void) // CMattRenderer::ResetRenderStates CRenderer::ClearForFrame(); // CClock::CalcEnvMapTimeMultiplicator -//if(gbRenderWater) CWaterLevel::RenderWater(); // actually CMattRenderer::RenderWater // CClock::ms_EnvMapTimeMultiplicator = 1.0f; // cWorldStream::ClearDynamics @@ -919,11 +918,13 @@ RenderScene_new(void) } // TODO -bool FredIsInFirstPersonCam(void) { return false; } +bool FredIsInFirstPersonCam(void) { return true; } // this seems to give the best result in all cases void RenderEffects_new(void) { + CRenderer::RenderPeds(); + CShadows::RenderStaticShadows(); // CRenderer::GenerateEnvironmentMap CShadows::RenderStoredShadows(); @@ -938,10 +939,10 @@ RenderEffects_new(void) if(gbRenderWorld2) CRenderer::RenderWorld(2); // transparent if(gbRenderVehicles) - CRenderer::RenderVehiclesAndPeds(); + CRenderer::RenderVehicles(); }else{ if(gbRenderVehicles) - CRenderer::RenderVehiclesAndPeds(); + CRenderer::RenderVehicles(); if(gbRenderWorld2) CRenderer::RenderWorld(2); // transparent } |