[rbdoom3bfg] 01/01: Disable HDR rendering by default

Tobias Frost tobi at moszumanska.debian.org
Sat Oct 15 15:54:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

tobi pushed a commit to branch master
in repository rbdoom3bfg.

commit d3b67b9e8ec62c175c6290b741233047db956482
Author: Tobias Frost <tobi at coldtobi.de>
Date:   Sat Oct 15 17:53:16 2016 +0200

    Disable HDR rendering by default
    
    as this can create some graphical glitches, especially when used together with
    SSAO. Done by patch 70-disable-hdr-by-default.patch
---
 debian/changelog                               |  8 ++++++++
 debian/patches/70-disable-hdr-by-default.patch | 20 ++++++++++++++++++++
 debian/patches/series                          |  1 +
 3 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d08ddd9..f7a873a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+rbdoom3bfg (1.1.0~preview3+dfsg+git20160807-2) unstable; urgency=medium
+
+  * Disable HDR rendering by default as this can create some graphical
+    glitches, especially when used together with SSAO. Done by patch
+    70-disable-hdr-by-default.patch
+
+ -- Tobias Frost <tobi at debian.org>  Sat, 15 Oct 2016 17:48:41 +0200
+
 rbdoom3bfg (1.1.0~preview3+dfsg+git20160807-1) unstable; urgency=medium
 
   * New upstream git snapshot.
diff --git a/debian/patches/70-disable-hdr-by-default.patch b/debian/patches/70-disable-hdr-by-default.patch
new file mode 100644
index 0000000..8d0ea89
--- /dev/null
+++ b/debian/patches/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 at 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, "" );
diff --git a/debian/patches/series b/debian/patches/series
index 9707fc9..54b1fa3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+70-disable-hdr-by-default.patch
 10-lowercase-executeable.patch
 20-reproducible.patch
 #30-init-sdl2.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/rbdoom3bfg.git



More information about the Pkg-games-commits mailing list