slang-shaders/presets/gizmo-crt/gizmo-crt-n64-curvator.slangp
Stefan b14a5b6ab1
Add gizmo-crt shader (#413)
* Add gizmo-crt shader

This shader tries to reproduce a CRT-like output without replicating mask or RGB patterns.

It has the following features:
- allows fractional scaling
- uses texture AA shader and subpixel scaling for evenly placed sharp pixels
- has a horizontal blur function which mimics bad signal quality of some systems (megadrive, psx)
- has a vertical blur function which mimics n64 vertical software blur
- adds some noise to mimic restless CRT colors
- has a curvator function
- looks good with resolutions <= 1080p
- has modest system requirements

https://forums.libretro.com/t/gizmo-crt-shader/41409
https://github.com/gizmo98/gizmo-crt-shader
2023-04-30 09:25:44 -05:00

15 lines
363 B
Plaintext

shaders = "1"
shader0 = "../../crt/shaders/gizmo-crt.slang"
filter_linear0 = "true"
scale_type0 = viewport
parameters = "BRIGHTNESS;HORIZONTAL_BLUR;VERTICAL_BLUR;BLUR_OFFSET;BGR_LCD_PATTERN;SHRINK"
CURVATURE_X = "0.1"
CURVATURE_Y = "0.1"
BRIGHTNESS = "0.5"
HORIZONTAL_BLUR = "1.0"
VERTICAL_BLUR = "1.0"
BLUR_OFFSET = "0.5"
BGR_LCD_PATTERN = "0.0"
SHRINK = "0.0"