summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-04-09 03:31:46 +0200
committerSergeanur <s.anureev@yandex.ua>2021-04-09 03:31:46 +0200
commit519218572a1303f6717bbc2cccc45d0c8a272d33 (patch)
tree50ae3120394891b6810ede249c8a71811c0591bc /src/core/re3.cpp
parentMerge branch 'miami' into lcs (diff)
parentupdate librw (diff)
downloadre3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.gz
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.bz2
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.lz
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.xz
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.zst
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.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 27382c98..34976822 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -1029,6 +1029,11 @@ extern bool gbRenderWorld2;
#ifndef MASTER
DebugMenuAddVarBool8("Render", "Occlusion debug", &bDispayOccDebugStuff, 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 *worldpipenames[] = { "PSP", "PS2", "Mobile" };
e = DebugMenuAddVar("Render", "World Rendering", &CustomPipes::WorldPipeSwitch, nil,