summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-28 19:07:32 +0100
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:43 +0200
commitc58d98a39ea3fa5e1f515fbac96eb58350a6de3e (patch)
tree2f62df6b06c64af88786e6f2329a1f6d0adb613c /src/core/main.cpp
parentfix postfx fix (diff)
downloadre3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar
re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar.gz
re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar.bz2
re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar.lz
re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar.xz
re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.tar.zst
re3-c58d98a39ea3fa5e1f515fbac96eb58350a6de3e.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 7d59307c..58db2d34 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -1333,11 +1333,13 @@ void
RenderEffects_new(void)
{
PUSH_RENDERGROUP("RenderEffects_new");
+/* // stupid to do this before the whole world is drawn!
CShadows::RenderStaticShadows();
// CRenderer::GenerateEnvironmentMap
CShadows::RenderStoredShadows();
CSkidmarks::Render();
CRubbish::Render();
+*/
// these aren't really effects
DefinedState();
@@ -1360,6 +1362,13 @@ if(gbRenderFadingInEntities)
CRenderer::RenderFadingInEntities();
// actual effects here
+
+ // from above
+ CShadows::RenderStaticShadows();
+ CShadows::RenderStoredShadows();
+ CSkidmarks::Render();
+ CRubbish::Render();
+
CGlass::Render();
// CMattRenderer::ResetRenderStates
DefinedState();