summaryrefslogtreecommitdiff
path: root/src
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 /src
parent7c42ed6edb06bdd26ef34341c83666e329c908b8 (diff)
fix new renderer
Diffstat (limited to 'src')
-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();