summaryrefslogtreecommitdiffstats
path: root/Shaders/TaSTT_template.shader
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-01-31 19:11:01 -0800
committeryum <yum.food.vr@gmail.com>2023-01-31 19:35:44 -0800
commit175965da720659df3099d3cda06a342fdfbe1cd4 (patch)
tree3c85c6ab3d2a806aa7f7069eaf3ceeb1f6410c1b /Shaders/TaSTT_template.shader
parent46f03b7ed89ab8146d143cdda733acd178c5314e (diff)
Implement simple anti-aliasing
Sample the texture up to 5 times using the algorithm shown in `aa_sample_algorithm.py`. Results are averaged together. * Redo dithering PRNG
Diffstat (limited to 'Shaders/TaSTT_template.shader')
-rw-r--r--Shaders/TaSTT_template.shader3
1 files changed, 2 insertions, 1 deletions
diff --git a/Shaders/TaSTT_template.shader b/Shaders/TaSTT_template.shader
index e0d436c..db5d036 100644
--- a/Shaders/TaSTT_template.shader
+++ b/Shaders/TaSTT_template.shader
@@ -17,7 +17,8 @@
[MaterialToggle] Enable_Margin_Effect_Squares(
"Enable margin effect: Squares", float) = 0
- [MaterialToggle] Enable_Dithering("Enable font dithering", float) = 1
+ [MaterialToggle] Enable_Dithering("Enable dithering", float) = 1
+ AA_Amount("Amount of anti-aliasing", Range(1, 5)) = 5
[MaterialToggle] BG_Enable("Enable custom background", float) = 0
BG_BaseColor("Background base color", 2D) = "black" {}