summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-28 14:15:22 +0100
committeraap <aap@papnet.eu>2021-02-28 14:15:22 +0100
commit087174c6a692409a6fbff78ac201b7bd3e508de0 (patch)
treed0dd05f40bc3c120c818fe2137169771c0dee571 /src/core/re3.cpp
parentFix muzzleflash rotation (diff)
downloadre3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar.gz
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar.bz2
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar.lz
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar.xz
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.tar.zst
re3-087174c6a692409a6fbff78ac201b7bd3e508de0.zip
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r--src/core/re3.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index f27f10fe..fe0347d9 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -964,6 +964,11 @@ extern bool gbRenderWorld2;
DebugMenuAddVar("Render", "Intensity", &CPostFX::Intensity, nil, 0.05f, 0, 10.0f);
DebugMenuAddVarBool8("Render", "Motion Blur", &CPostFX::MotionBlurOn, nil);
#endif
+#ifdef LIBRW
+ DebugMenuAddVarBool32("Render", "MatFX env map apply light", &rw::MatFX::envMapApplyLight, nil);
+ DebugMenuAddVarBool32("Render", "MatFX env map flip U", &rw::MatFX::envMapFlipU, nil);
+ DebugMenuAddVarBool32("Render", "MatFX env map use matcolor", &rw::MatFX::envMapUseMatColor, nil);
+#endif
#ifdef EXTENDED_PIPELINES
static const char *vehpipenames[] = { "MatFX", "Neo" };
e = DebugMenuAddVar("Render", "Vehicle Pipeline", &CustomPipes::VehiclePipeSwitch, nil,