diff options
Diffstat (limited to '70-disable-hdr-by-default.patch')
-rw-r--r-- | 70-disable-hdr-by-default.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/70-disable-hdr-by-default.patch b/70-disable-hdr-by-default.patch new file mode 100644 index 000000000000..8d0ea8958118 --- /dev/null +++ b/70-disable-hdr-by-default.patch @@ -0,0 +1,20 @@ +Description: Change default to disable HDR rendering + Sometimes with HDR and SSAO enabled, there will be black sticking artifacts. + This patch sets the default for HDR to "off" + See the upstream bug for detail. +Author: Tobias Frost <tobi@debian.org> +Bug: https://github.com/RobertBeckebans/RBDOOM-3-BFG/issues/308 +Last-Update: 2016-10-15 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/neo/renderer/RenderSystem_init.cpp ++++ b/neo/renderer/RenderSystem_init.cpp +@@ -252,7 +252,7 @@ + idCVar r_shadowMapSunDepthBiasScale( "r_shadowMapSunDepthBiasScale", "0.999991", CVAR_RENDERER | CVAR_FLOAT, "shadowmap bias to fight shadow acne for cascaded shadow mapping with parallel lights" ); + + // RB: HDR parameters +-idCVar r_useHDR( "r_useHDR", "1", CVAR_RENDERER | CVAR_ARCHIVE | CVAR_BOOL, "use high dynamic range rendering" ); ++idCVar r_useHDR( "r_useHDR", "0", CVAR_RENDERER | CVAR_ARCHIVE | CVAR_BOOL, "use high dynamic range rendering" ); + idCVar r_hdrAutoExposure( "r_hdrAutoExposure", "1", CVAR_RENDERER | CVAR_BOOL, "EXPENSIVE: enables adapative HDR tone mapping otherwise the exposure is derived by r_exposure" ); + idCVar r_hdrMinLuminance( "r_hdrMinLuminance", "0.005", CVAR_RENDERER | CVAR_FLOAT, "" ); + idCVar r_hdrMaxLuminance( "r_hdrMaxLuminance", "300", CVAR_RENDERER | CVAR_FLOAT, "" ); |