summarylogtreecommitdiffstats
path: root/70-disable-hdr-by-default.patch
diff options
context:
space:
mode:
authorMike Swanson2017-08-26 14:49:08 -0700
committerMike Swanson2017-08-26 14:58:21 -0700
commitc3d7bf13209f076a455eae343e515570fbc723a3 (patch)
tree57d48405ea0d8bb07d6b360bf959850323d386cc /70-disable-hdr-by-default.patch
parent0412e49c1c8ff3f85e96b204038ab801f02cdf0b (diff)
downloadaur-c3d7bf13209f076a455eae343e515570fbc723a3.tar.gz
Update to a git snapshot
Builds with GCC 7.1.1 and some other libraries, via patches from Debian
Diffstat (limited to '70-disable-hdr-by-default.patch')
-rw-r--r--70-disable-hdr-by-default.patch20
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 00000000000..8d0ea895811
--- /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, "" );