slang-shaders/dithering/bayer_4x4.slangp
gizmo98 3c00e990dc add bayer 4x4 matrix ordered grid dithering shader
Features:
- uses bayer 4x4 matrix
- color depth can be selected with a parameter
- dithering will be calculated according to selected color depth
2023-05-17 15:44:30 +02:00

11 lines
211 B
Plaintext

shaders = "1"
shader0 = "shaders/bayer_4x4.slang"
filter_linear0 = "false"
scale_type0 = viewport
parameters = "COLOR_DEPTH;DITHER_TUNE;EGA_PALETTE"
COLOR_DEPTH = "2.0"
DITHER_TUNE = "0.0"
EGA_PALETTE = "0.0"