diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-08-19 22:35:10 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-08-19 22:35:10 +0200 |
commit | dab6d6dd6d9f45435daf6634018fef3def0fe6e1 (patch) | |
tree | 751cb947cfbf76af048a05b0540bcfe0758eeea1 /src/core/re3.cpp | |
parent | Merge branch 'master' into miami (diff) | |
parent | small stuff (diff) | |
download | re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar.gz re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar.bz2 re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar.lz re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar.xz re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.tar.zst re3-dab6d6dd6d9f45435daf6634018fef3def0fe6e1.zip |
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r-- | src/core/re3.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 155dbcf4..6a305b4c 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -35,6 +35,7 @@ #include "Script.h" #include "MBlur.h" #include "postfx.h" +#include "custompipes.h" #ifndef _WIN32 #include "assert.h" @@ -423,6 +424,17 @@ DebugMenuPopulate(void) #endif DebugMenuAddVar("Render", "Drunkness", &CMBlur::Drunkness, nil, 0.05f, 0, 1.0f); DebugMenuAddVarBool8("Render", "Occlusion debug", &bDisplayOccDebugStuff, nil); +#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); |