summaryrefslogtreecommitdiffstats
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
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
m---------librw0
-rw-r--r--src/core/Game.cpp8
2 files changed, 8 insertions, 0 deletions
diff --git a/librw b/librw
-Subproject e6c7d910ffc32bc059c4e750a797fde51ee29fd
+Subproject 8b677c4dd77a73da68447556e3b07c6c0371629
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();