summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-28 19:07:46 +0100
committeraap <aap@papnet.eu>2021-02-28 19:07:46 +0100
commit6122f6980b056cc3f777606e75c7db62531369db (patch)
tree23bf88d286f9827721e264f4273ca635528f1a54
parentfix postfx fix (diff)
downloadre3-6122f6980b056cc3f777606e75c7db62531369db.tar
re3-6122f6980b056cc3f777606e75c7db62531369db.tar.gz
re3-6122f6980b056cc3f777606e75c7db62531369db.tar.bz2
re3-6122f6980b056cc3f777606e75c7db62531369db.tar.lz
re3-6122f6980b056cc3f777606e75c7db62531369db.tar.xz
re3-6122f6980b056cc3f777606e75c7db62531369db.tar.zst
re3-6122f6980b056cc3f777606e75c7db62531369db.zip
-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 a38fe72a..2221b691 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -1281,11 +1281,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();
@@ -1308,6 +1310,13 @@ if(gbRenderFadingInEntities)
CRenderer::RenderFadingInEntities();
// actual effects here
+
+ // from above
+ CShadows::RenderStaticShadows();
+ CShadows::RenderStoredShadows();
+ CSkidmarks::Render();
+ CRubbish::Render();
+
CGlass::Render();
// CMattRenderer::ResetRenderStates
DefinedState();