diff options
author | aap <aap@papnet.eu> | 2020-05-27 20:41:13 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-27 20:42:15 +0200 |
commit | 717b0a6514ba451bdbda0befbfc6c23fc5ff2ea7 (patch) | |
tree | 1daa83d4874b9eb514daae156bd516536597373a /src/fakerw/fake.cpp | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-717b0a6514ba451bdbda0befbfc6c23fc5ff2ea7.tar re3-717b0a6514ba451bdbda0befbfc6c23fc5ff2ea7.tar.gz re3-717b0a6514ba451bdbda0befbfc6c23fc5ff2ea7.tar.bz2 re3-717b0a6514ba451bdbda0befbfc6c23fc5ff2ea7.tar.lz re3-717b0a6514ba451bdbda0befbfc6c23fc5ff2ea7.tar.xz re3-717b0a6514ba451bdbda0befbfc6c23fc5ff2ea7.tar.zst re3-717b0a6514ba451bdbda0befbfc6c23fc5ff2ea7.zip |
Diffstat (limited to 'src/fakerw/fake.cpp')
-rw-r--r-- | src/fakerw/fake.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp index 08d106f4..f95845a8 100644 --- a/src/fakerw/fake.cpp +++ b/src/fakerw/fake.cpp @@ -790,6 +790,12 @@ RpMaterial *RpMatFXMaterialSetEnvMapFrame( RpMaterial *material, RwFrame *frame mfx->setEnvFrame(frame); return material; } +RpMaterial *RpMatFXMaterialSetEnvMapFrameBufferAlpha( RpMaterial *material, RwBool useFrameBufferAlpha ) +{ + MatFX *mfx = MatFX::get(material); + mfx->setEnvFBAlpha(useFrameBufferAlpha); + return material; +} RpMaterial *RpMatFXMaterialSetEnvMapCoefficient( RpMaterial *material, RwReal coef ) { MatFX *mfx = MatFX::get(material); |