From 6122f6980b056cc3f777606e75c7db62531369db Mon Sep 17 00:00:00 2001 From: aap Date: Sun, 28 Feb 2021 19:07:46 +0100 Subject: fix new renderer --- src/core/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/core') 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(); -- cgit v1.2.3