From dd3f1f88ac7740d73faf24cb5cbde0e05d92c748 Mon Sep 17 00:00:00 2001 From: aap Date: Fri, 28 Jun 2019 23:31:23 +0200 Subject: PS2-like MatFX from skygfx --- src/modelinfo/VehicleModelInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modelinfo') 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; -- cgit v1.2.3