1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Change the pattern parameter node of the outline layer effect to an OptionButton

Consistent with the image effect
This commit is contained in:
Emmanouil Papadeas 2024-09-08 02:40:55 +03:00
parent b3021ceb67
commit c2ce4a4a69

View file

@ -4,7 +4,8 @@ render_mode unshaded;
uniform vec4 color : source_color = vec4(1.0); uniform vec4 color : source_color = vec4(1.0);
uniform float width : hint_range(0, 10, 1) = 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 bool inside = false;
uniform sampler2D selection : filter_nearest; uniform sampler2D selection : filter_nearest;