From c2ce4a4a691f546a04a06f47bbaa1998738be1fa Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sun, 8 Sep 2024 02:40:55 +0300 Subject: [PATCH] Change the pattern parameter node of the outline layer effect to an OptionButton Consistent with the image effect --- src/Shaders/Effects/OutlineInline.gdshader | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Shaders/Effects/OutlineInline.gdshader b/src/Shaders/Effects/OutlineInline.gdshader index f19b0ccac..0eaa038a3 100644 --- a/src/Shaders/Effects/OutlineInline.gdshader +++ b/src/Shaders/Effects/OutlineInline.gdshader @@ -4,7 +4,8 @@ render_mode unshaded; uniform vec4 color : source_color = vec4(1.0); uniform float width : hint_range(0, 10, 1) = 1.0; -uniform int pattern : hint_range(0, 2) = 0; // diamond, circle, square +// uniform_data pattern type:: OptionButton [Diamond||Circle||Square] +uniform int pattern : hint_range(0, 2) = 0; uniform bool inside = false; uniform sampler2D selection : filter_nearest;