summaryrefslogtreecommitdiff
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
parent3a5a12288755a90cf274b04c591e4ba38bf8f1c7 (diff)
librw update
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);