summaryrefslogtreecommitdiffstats
path: root/src/core
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
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')
-rw-r--r--src/core/FileLoader.cpp1
-rw-r--r--src/core/main.cpp9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp
index 22e0159c..20e7bd8e 100644
--- a/src/core/FileLoader.cpp
+++ b/src/core/FileLoader.cpp
@@ -670,6 +670,7 @@ char *DoubleSidedNames[] = {
"sbwy_tunl_cstm3",
"sbwy_tunl_cstm2",
"sbwy_tunl_cstm1",
+ "tenmnt6ad",
""
};
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();