summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-20 16:05:39 +0200
committeraap <aap@papnet.eu>2020-04-20 16:05:39 +0200
commit98fc8ecef09ba9c50a511c3bcfaca3cffe2fed0b (patch)
tree94ef0dcf694898a98880a92c41e4f7f055ffd03b /src/core
parentMerge pull request #480 from Fire-Head/master (diff)
downloadre3-98fc8ecef09ba9c50a511c3bcfaca3cffe2fed0b.tar
re3-98fc8ecef09ba9c50a511c3bcfaca3cffe2fed0b.tar.gz
re3-98fc8ecef09ba9c50a511c3bcfaca3cffe2fed0b.tar.bz2
re3-98fc8ecef09ba9c50a511c3bcfaca3cffe2fed0b.tar.lz
re3-98fc8ecef09ba9c50a511c3bcfaca3cffe2fed0b.tar.xz
re3-98fc8ecef09ba9c50a511c3bcfaca3cffe2fed0b.tar.zst
re3-98fc8ecef09ba9c50a511c3bcfaca3cffe2fed0b.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Game.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index b1d29161..94c775ae 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -156,6 +156,14 @@ CGame::InitialiseRenderWare(void)
LightsCreate(Scene.world);
CreateDebugFont();
+
+#ifdef LIBRW
+#ifdef PS2_MATFX
+ rw::MatFX::modulateEnvMap = true;
+#else
+ rw::MatFX::modulateEnvMap = false;
+#endif
+#endif
CFont::Initialise();
CHud::Initialise();