mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 12:29:01 +00:00
PS2-like MatFX from skygfx
This commit is contained in:
parent
38a7b74b1a
commit
dd3f1f88ac
2 changed files with 4 additions and 0 deletions
|
@ -77,3 +77,5 @@ enum Config {
|
|||
#define NO_MOVIES
|
||||
//#define USE_MY_DOCUMENTS
|
||||
#define NASTY_GAME
|
||||
#define PS2_MATFX
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue