summaryrefslogtreecommitdiffstats
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
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
m---------librw0
-rw-r--r--src/fakerw/fake.cpp6
2 files changed, 6 insertions, 0 deletions
diff --git a/librw b/librw
-Subproject 84c582c1d7a64a213523b8e4c8211f8b7a4fdcd
+Subproject 6ff378bb16007ad003b1a71996944a20f2e7655
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);