diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-04-09 04:31:46 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-04-09 04:31:46 +0300 |
commit | 519218572a1303f6717bbc2cccc45d0c8a272d33 (patch) | |
tree | 50ae3120394891b6810ede249c8a71811c0591bc /src/core/Game.cpp | |
parent | 49b3bf5f2ebafdf2fdf4e36b8992a2ccebec5048 (diff) | |
parent | ceb22d71dd3243e80144b3a956ae371409dda90d (diff) |
Merge remote-tracking branch 'origin/miami' into lcs
# Conflicts:
# src/modelinfo/PedModelInfo.cpp
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r-- | src/core/Game.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index edd4d7cf..8dee29e2 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 = { 64, 64, 64, 255 }; + rw::MatFX::envMapColor = envcol; #else #ifdef PS2_MATFX ReplaceMatFxCallback(); |