Merge pull request #214 from MajorPainTheCactus/master

Better colour match the PVM 2730
This commit is contained in:
hizzlekizzle 2022-01-01 17:23:59 -06:00 committed by GitHub
commit af6249b856
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
#reference "crt-sony-pvm-4k-hdr.slangp" #reference "crt-sony-pvm-4k-hdr.slangp"
Contrast = "4.500000" Contrast = "3.7500000"
PaperWhiteNits = "450.000000" PaperWhiteNits = "450.000000"
ScanlineWidth = "0.950000" ScanlineWidth = "0.950000"
ResolutionPattern = "2.000000" ResolutionPattern = "2.000000"

View file

@ -20,7 +20,7 @@ layout(push_constant) uniform Push
float ExpandGamut; float ExpandGamut;
} params; } 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 #pragma parameter ExpandGamut "ExpandGamut" 1.0 0.0 1.0 1.0
layout(std140, set = 0, binding = 0) uniform UBO layout(std140, set = 0, binding = 0) uniform UBO

View file

@ -21,8 +21,8 @@ layout(push_constant) uniform Push
float MaxNits; float MaxNits;
} params; } params;
#pragma parameter Contrast "Contrast" 5.0 0.0 10.0 0.01 #pragma parameter Contrast "Contrast" 3.75 0.0 10.0 0.01
#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 MaxNits "Peak Luminance" 700.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 layout(std140, set = 0, binding = 0) uniform UBO