summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-28 14:15:22 +0100
committeraap <aap@papnet.eu>2021-02-28 14:15:22 +0100
commit087174c6a692409a6fbff78ac201b7bd3e508de0 (patch)
treed0dd05f40bc3c120c818fe2137169771c0dee571 /src/core/Game.cpp
parentFix muzzleflash rotation (diff)
downloadre3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar.gz
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar.bz2
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar.lz
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar.xz
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar.zst
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.zip
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r--src/core/Game.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index 2a6afa97..f6156a4c 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -245,10 +245,16 @@ CGame::InitialiseRenderWare(void)
#ifdef LIBRW
#ifdef PS2_MATFX
- rw::MatFX::modulateEnvMap = true;
+ rw::MatFX::envMapApplyLight = true;
+ rw::MatFX::envMapUseMatColor = true;
+ rw::MatFX::envMapFlipU = true;
#else
- rw::MatFX::modulateEnvMap = false;
+ rw::MatFX::envMapApplyLight = false;
+ rw::MatFX::envMapUseMatColor = false;
+ rw::MatFX::envMapFlipU = false;
#endif
+ rw::RGBA envcol = { 128, 128, 128, 255 };
+ rw::MatFX::envMapColor = envcol;
#else
#ifdef PS2_MATFX
ReplaceMatFxCallback();