summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-19 14:36:38 +0200
committerGitHub <noreply@github.com>2020-08-19 14:36:38 +0200
commit76fe1247c86873fa548c85ae8598efd4ce1947c2 (patch)
tree0d7d5e42a8e92841af0f89dc577eb0888831fd9f /src/core/re3.cpp
parentIsland loading cleanup and fix (diff)
parentMerge branch 'master' of github.com:gtamodding/re3 (diff)
downloadre3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar.gz
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar.bz2
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar.lz
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar.xz
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar.zst
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.zip
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r--src/core/re3.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index eef30706..27ec336d 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -31,6 +31,7 @@
#include "main.h"
#include "MBlur.h"
#include "postfx.h"
+#include "custompipes.h"
#ifndef _WIN32
#include "assert.h"
@@ -361,6 +362,17 @@ DebugMenuPopulate(void)
DebugMenuAddVar("Render", "Intensity", &CPostFX::Intensity, nil, 0.05f, 0, 10.0f);
DebugMenuAddVarBool8("Render", "Motion Blur", &CPostFX::MotionBlurOn, nil);
#endif
+#ifdef EXTENDED_PIPELINES
+ static const char *vehpipenames[] = { "MatFX", "Neo" };
+ e = DebugMenuAddVar("Render", "Vehicle Pipeline", &CustomPipes::VehiclePipeSwitch, nil,
+ 1, CustomPipes::VEHICLEPIPE_MATFX, CustomPipes::VEHICLEPIPE_NEO, vehpipenames);
+ DebugMenuEntrySetWrap(e, true);
+ DebugMenuAddVar("Render", "Neo Vehicle Shininess", &CustomPipes::VehicleShininess, nil, 0.1f, 0, 1.0f);
+ DebugMenuAddVar("Render", "Neo Vehicle Specularity", &CustomPipes::VehicleSpecularity, nil, 0.1f, 0, 1.0f);
+ DebugMenuAddVar("Render", "Neo Ped Rim light", &CustomPipes::RimlightMult, nil, 0.1f, 0, 1.0f);
+ DebugMenuAddVar("Render", "Neo World Lightmaps", &CustomPipes::LightmapMult, nil, 0.1f, 0, 1.0f);
+ DebugMenuAddVar("Render", "Neo Road Gloss", &CustomPipes::GlossMult, nil, 0.1f, 0, 1.0f);
+#endif
DebugMenuAddVarBool8("Render", "Show Ped Paths", &gbShowPedPaths, nil);
DebugMenuAddVarBool8("Render", "Show Car Paths", &gbShowCarPaths, nil);
DebugMenuAddVarBool8("Render", "Show Car Path Links", &gbShowCarPathsLinks, nil);