mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-27 02:01:48 +01:00
PS2-like MatFX from skygfx
This commit is contained in:
parent
38a7b74b1a
commit
dd3f1f88ac
@ -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 New Issue
Block a user