mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-26 01:11:32 +11:00
Added Sammy Atomiswave simulation preset Added JVC Professional TM-H1950CG simulation preset
This commit is contained in:
parent
819892ed0b
commit
510b6c9ef4
57
hdr/crt-arcade-4k-hdr.slangp
Normal file
57
hdr/crt-arcade-4k-hdr.slangp
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
/*
|
||||||
|
A shader that specifically tries to emulate arcade monitor's with an shadow mask screen but with full brightness.
|
||||||
|
|
||||||
|
The novel thing about this shader is that it transforms the image output by the 'console/arcade/computer' into HDR space first i.e brightens it first and then applies
|
||||||
|
an shadow mask afterwards which is kind of what a CRT would actually do - its kind of a kin to the electron beam (but nothing like it lol).
|
||||||
|
|
||||||
|
My DisplayHDR 600 monitor does seem to get reasonably close to the brightness of my PVM - its not quite there but its close. I think DisplayHDR 1000 and above will be able to match.
|
||||||
|
|
||||||
|
Currently defaults towards a Sammy Atomiswave.
|
||||||
|
|
||||||
|
To use:
|
||||||
|
Please Enable HDR in RetroArch 1.10+
|
||||||
|
|
||||||
|
NOTE: when this shader is envoked the Contrast, Peak Luminance and Paper White Luminance in the HDR menu do nothing instead set those values through the shader parameters
|
||||||
|
|
||||||
|
For this shader set Paper White Luminance to above 700 and Peak Luminance to the peak luminance of your monitor.
|
||||||
|
|
||||||
|
Also try to use a integer scaling - its just better - overscaling is fine/great.
|
||||||
|
|
||||||
|
This shader doesn't do any geometry warping or bouncing of light around inside the screen - I think these effects just add unwanted noise, I know people disagree. Please feel free to make you own and add them
|
||||||
|
|
||||||
|
Works only with the D3D11/D3D12/Vulkan drivers currently
|
||||||
|
|
||||||
|
THIS SHADER DOES NOT SUPPORT WRGB OLED (Due to the sub pixel layout of WRGB - QD-OLED or LCD (and variants thereof screens are fine)
|
||||||
|
*/
|
||||||
|
|
||||||
|
shaders = "1"
|
||||||
|
feedback_pass = "0"
|
||||||
|
|
||||||
|
shader0 = "shaders/crt-slot-mask-hdr.slang"
|
||||||
|
filter_linear0 = "false"
|
||||||
|
wrap_mode0 = "clamp_to_border"
|
||||||
|
mipmap_input0 = "false"
|
||||||
|
alias0 = ""
|
||||||
|
float_framebuffer0 = "false"
|
||||||
|
srgb_framebuffer0 = "false"
|
||||||
|
PaperWhiteNits = "700.000000"
|
||||||
|
Contrast = "0.000000"
|
||||||
|
ExpandGamut = "1.000000"
|
||||||
|
RedConvergence = "0.000000"
|
||||||
|
GreenConvergence = "0.000000"
|
||||||
|
BlueConvergence = "0.000000"
|
||||||
|
RedScanlineMin = "0.8900000"
|
||||||
|
RedScanlineMax = "1.000000"
|
||||||
|
RedScanlineAttack = "0.300000"
|
||||||
|
GreenScanlineMin = "0.500000"
|
||||||
|
GreenScanlineMax = "0.800000"
|
||||||
|
GreenScanlineAttack = "0.300000"
|
||||||
|
BlueScanlineMin = "0.500000"
|
||||||
|
BlueScanlineMax = "0.800000"
|
||||||
|
BlueScanlineAttack = "0.300000"
|
||||||
|
RedBeamSharpness = "1.500000"
|
||||||
|
RedBeamAttack = "1.8000000"
|
||||||
|
GreenBeamSharpness = "1.500000"
|
||||||
|
GreenBeamAttack = "1.800000"
|
||||||
|
BlueBeamSharpness = "1.500000"
|
||||||
|
BlueBeamAttack = "1.800000"
|
55
hdr/crt-jvc-professional-4k-hdr.slangp
Normal file
55
hdr/crt-jvc-professional-4k-hdr.slangp
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
/*
|
||||||
|
A shader that specifically tries to emulate JVC professional monitor's with an shadow mask screen but with full brightness.
|
||||||
|
|
||||||
|
The novel thing about this shader is that it transforms the image output by the 'console/arcade/computer' into HDR space first i.e brightens it first and then applies
|
||||||
|
an shadow mask afterwards which is kind of what a CRT would actually do - its kind of a kin to the electron beam (but nothing like it lol).
|
||||||
|
|
||||||
|
My DisplayHDR 600 monitor does seem to get reasonably close to the brightness of my PVM - its not quite there but its close. I think DisplayHDR 1000 and above will be able to match.
|
||||||
|
|
||||||
|
Currently defaults towards a JVC Professional TM-H1950CG.
|
||||||
|
|
||||||
|
To use:
|
||||||
|
Please Enable HDR in RetroArch 1.10+
|
||||||
|
|
||||||
|
NOTE: when this shader is envoked the Contrast, Peak Luminance and Paper White Luminance in the HDR menu do nothing instead set those values through the shader parameters
|
||||||
|
|
||||||
|
For this shader set Paper White Luminance to above 700 and Peak Luminance to the peak luminance of your monitor.
|
||||||
|
|
||||||
|
Also try to use a integer scaling - its just better - overscaling is fine/great.
|
||||||
|
|
||||||
|
This shader doesn't do any geometry warping or bouncing of light around inside the screen - I think these effects just add unwanted noise, I know people disagree. Please feel free to make you own and add them
|
||||||
|
|
||||||
|
Works only with the D3D11/D3D12/Vulkan drivers currently
|
||||||
|
|
||||||
|
THIS SHADER DOES NOT SUPPORT WRGB OLED (Due to the sub pixel layout of WRGB - QD-OLED or LCD (and variants thereof screens are fine)
|
||||||
|
*/
|
||||||
|
|
||||||
|
shaders = "1"
|
||||||
|
feedback_pass = "0"
|
||||||
|
|
||||||
|
shader0 = "shaders/crt-shadow-mask-hdr.slang"
|
||||||
|
filter_linear0 = "false"
|
||||||
|
wrap_mode0 = "clamp_to_border"
|
||||||
|
mipmap_input0 = "false"
|
||||||
|
alias0 = ""
|
||||||
|
float_framebuffer0 = "false"
|
||||||
|
srgb_framebuffer0 = "false"
|
||||||
|
PaperWhiteNits = "400.000000"
|
||||||
|
RedConvergence = "0.000000"
|
||||||
|
GreenConvergence = "0.000000"
|
||||||
|
BlueConvergence = "0.000000"
|
||||||
|
RedScanlineMin = "0.550000"
|
||||||
|
RedScanlineMax = "0.800000"
|
||||||
|
RedScanlineAttack = "1.000000"
|
||||||
|
GreenScanlineMin = "0.550000"
|
||||||
|
GreenScanlineMax = "0.800000"
|
||||||
|
GreenScanlineAttack = "1.000000"
|
||||||
|
BlueScanlineMin = "0.550000"
|
||||||
|
BlueScanlineMax = "0.800000"
|
||||||
|
BlueScanlineAttack = "1.000000"
|
||||||
|
RedBeamSharpness = "2.000000"
|
||||||
|
RedBeamAttack = "0.7500000"
|
||||||
|
GreenBeamSharpness = "2.000000"
|
||||||
|
GreenBeamAttack = "0.750000"
|
||||||
|
BlueBeamSharpness = "2.000000"
|
||||||
|
BlueBeamAttack = "0.750000"
|
1
hdr/crt-jvc-professional-TM-H1950CG-4k-hdr.slangp
Normal file
1
hdr/crt-jvc-professional-TM-H1950CG-4k-hdr.slangp
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#reference "crt-jvc-professional-4k-hdr.slangp"
|
1
hdr/crt-sammy-atomiswave-4k-hdr.slangp
Normal file
1
hdr/crt-sammy-atomiswave-4k-hdr.slangp
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#reference "crt-arcade-4k-hdr.slangp"
|
Loading…
Reference in a new issue