mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-12-02 04:11:30 +11:00
e366c7524c
* Refactor scaling into include library Add separate H and V integer scale forcing Fix blur_fill; average fill still TODO Clean up and fix blur_fill; Initial docs; Avg fill TODO Mostly fix avg. fill; sampling TODO; Bump versions, add docs Fix H/V extension; Tweak default params Fix avg. fill Remove defines, create functions Reorder params Clean up Fix pixel_aa subpx sampling with rotation * Minor docs fix
10 lines
489 B
Plaintext
10 lines
489 B
Plaintext
// See pixel_aa.slang for copyright and other information.
|
|
|
|
// clang-format off
|
|
#pragma parameter PIX_AA_SETTINGS "=== Pixel AA v1.3 settings ===" 0.0 0.0 1.0 1.0
|
|
#pragma parameter PIX_AA_SHARP "Pixel AA sharpening amount" 1.5 0.0 2.0 0.05
|
|
#pragma parameter PIX_AA_GAMMA "Enable gamma-correct blending" 1.0 0.0 1.0 1.0
|
|
#pragma parameter PIX_AA_SUBPX "Enable subpixel AA" 0.0 0.0 1.0 1.0
|
|
#pragma parameter PIX_AA_SUBPX_BGR "Use BGR subpx. instead of RGB" 0.0 0.0 1.0 1.0
|
|
// clang-format on
|