diff options
author | aap <aap@papnet.eu> | 2019-06-28 23:31:23 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-28 23:31:23 +0200 |
commit | dd3f1f88ac7740d73faf24cb5cbde0e05d92c748 (patch) | |
tree | b2ab7855582cc7a4322b8b5feedff26b234b8efb | |
parent | island load screen, some more CText (diff) | |
download | re3-dd3f1f88ac7740d73faf24cb5cbde0e05d92c748.tar re3-dd3f1f88ac7740d73faf24cb5cbde0e05d92c748.tar.gz re3-dd3f1f88ac7740d73faf24cb5cbde0e05d92c748.tar.bz2 re3-dd3f1f88ac7740d73faf24cb5cbde0e05d92c748.tar.lz re3-dd3f1f88ac7740d73faf24cb5cbde0e05d92c748.tar.xz re3-dd3f1f88ac7740d73faf24cb5cbde0e05d92c748.tar.zst re3-dd3f1f88ac7740d73faf24cb5cbde0e05d92c748.zip |
-rw-r--r-- | src/config.h | 2 | ||||
-rw-r--r-- | src/modelinfo/VehicleModelInfo.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 53a7ad11..61b4f9b6 100644 --- a/src/config.h +++ b/src/config.h @@ -77,3 +77,5 @@ enum Config { #define NO_MOVIES //#define USE_MY_DOCUMENTS #define NASTY_GAME +#define PS2_MATFX + diff --git a/src/modelinfo/VehicleModelInfo.cpp b/src/modelinfo/VehicleModelInfo.cpp index 36a6f301..2f1d2027 100644 --- a/src/modelinfo/VehicleModelInfo.cpp +++ b/src/modelinfo/VehicleModelInfo.cpp @@ -1006,7 +1006,9 @@ CVehicleModelInfo::SetEnvironmentMapCB(RpMaterial *material, void *data) if(RpMaterialGetTexture(material) == 0) RpMaterialSetTexture(material, gpWhiteTexture); RpMatFXMaterialSetEffects(material, rpMATFXEFFECTENVMAP); +#ifndef PS2_MATFX spec *= 0.5f; // Tone down a bit for PC +#endif RpMatFXMaterialSetupEnvMap(material, (RwTexture*)data, pMatFxIdentityFrame, false, spec); } return material; |