summaryrefslogtreecommitdiffstats
path: root/src/fakerw
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-27 20:41:13 +0200
committeraap <aap@papnet.eu>2020-05-27 20:41:36 +0200
commitd8749c2305408b65d298f5e2e302dd5e9d68d249 (patch)
treec7a45cf69cd311dd33cacd08f189c99ae6ca9633 /src/fakerw
parentFix city sound playing on restarting a new game (diff)
downloadre3-d8749c2305408b65d298f5e2e302dd5e9d68d249.tar
re3-d8749c2305408b65d298f5e2e302dd5e9d68d249.tar.gz
re3-d8749c2305408b65d298f5e2e302dd5e9d68d249.tar.bz2
re3-d8749c2305408b65d298f5e2e302dd5e9d68d249.tar.lz
re3-d8749c2305408b65d298f5e2e302dd5e9d68d249.tar.xz
re3-d8749c2305408b65d298f5e2e302dd5e9d68d249.tar.zst
re3-d8749c2305408b65d298f5e2e302dd5e9d68d249.zip
Diffstat (limited to 'src/fakerw')
-rw-r--r--src/fakerw/fake.cpp6
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);