summaryrefslogtreecommitdiffstats
path: root/src/fakerw/fake.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-27 20:41:13 +0200
committeraap <aap@papnet.eu>2020-05-27 20:42:15 +0200
commit717b0a6514ba451bdbda0befbfc6c23fc5ff2ea7 (patch)
tree1daa83d4874b9eb514daae156bd516536597373a /src/fakerw/fake.cpp
parentMerge branch 'master' into miami (diff)
downloadre3-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 '')
-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);