From 94c514fe80bd4928f0feb85e83ca6b43d857d3dc Mon Sep 17 00:00:00 2001 From: majorpainthecactus Date: Sat, 1 Jan 2022 21:56:13 +0000 Subject: [PATCH] Better colour match the PVM 2730 --- hdr/crt-sony-pvm-2730-4k-hdr.slangp | 2 +- hdr/shaders/hdr10.slang | 2 +- hdr/shaders/inverse_tonemap.slang | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hdr/crt-sony-pvm-2730-4k-hdr.slangp b/hdr/crt-sony-pvm-2730-4k-hdr.slangp index 7f41875..bb0fb96 100644 --- a/hdr/crt-sony-pvm-2730-4k-hdr.slangp +++ b/hdr/crt-sony-pvm-2730-4k-hdr.slangp @@ -1,5 +1,5 @@ #reference "crt-sony-pvm-4k-hdr.slangp" -Contrast = "4.500000" +Contrast = "3.7500000" PaperWhiteNits = "450.000000" ScanlineWidth = "0.950000" ResolutionPattern = "2.000000" diff --git a/hdr/shaders/hdr10.slang b/hdr/shaders/hdr10.slang index e616728..05a0d94 100644 --- a/hdr/shaders/hdr10.slang +++ b/hdr/shaders/hdr10.slang @@ -20,7 +20,7 @@ layout(push_constant) uniform Push float ExpandGamut; } params; -#pragma parameter PaperWhiteNits "Paper White Luminance" 400.0 0.0 10000.0 10.0 +#pragma parameter PaperWhiteNits "Paper White Luminance" 450.0 0.0 10000.0 10.0 #pragma parameter ExpandGamut "ExpandGamut" 1.0 0.0 1.0 1.0 layout(std140, set = 0, binding = 0) uniform UBO diff --git a/hdr/shaders/inverse_tonemap.slang b/hdr/shaders/inverse_tonemap.slang index 86b6852..e75af84 100644 --- a/hdr/shaders/inverse_tonemap.slang +++ b/hdr/shaders/inverse_tonemap.slang @@ -21,8 +21,8 @@ layout(push_constant) uniform Push float MaxNits; } params; -#pragma parameter Contrast "Contrast" 5.0 0.0 10.0 0.01 -#pragma parameter PaperWhiteNits "Paper White Luminance" 400.0 0.0 10000.0 10.0 +#pragma parameter Contrast "Contrast" 3.75 0.0 10.0 0.01 +#pragma parameter PaperWhiteNits "Paper White Luminance" 450.0 0.0 10000.0 10.0 #pragma parameter MaxNits "Peak Luminance" 700.0 0.0 10000.0 10.0 layout(std140, set = 0, binding = 0) uniform UBO