mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-23 08:11:29 +11:00
Merge pull request #214 from MajorPainTheCactus/master
Better colour match the PVM 2730
This commit is contained in:
commit
af6249b856
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue