mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Fix pattern sampler2D in shaders not repeating
When using the Bucket tool to fill with pattern in "Similar colors" and "Whole selection" modes, the pattern was not being repeated.
This commit is contained in:
parent
4614a648d1
commit
3fb2877b73
|
@ -12,7 +12,7 @@ uniform float similarity_percent : hint_range(0.0, 100.0);
|
|||
uniform sampler2D selection;
|
||||
|
||||
uniform bool has_pattern;
|
||||
uniform sampler2D pattern;
|
||||
uniform sampler2D pattern: repeat_enable;
|
||||
uniform vec2 pattern_size;
|
||||
uniform vec2 pattern_uv_offset;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ shader_type canvas_item;
|
|||
render_mode unshaded;
|
||||
|
||||
uniform sampler2D selection;
|
||||
uniform sampler2D pattern;
|
||||
uniform sampler2D pattern: repeat_enable;
|
||||
uniform vec2 size;
|
||||
uniform vec2 pattern_size;
|
||||
uniform vec2 pattern_uv_offset;
|
||||
|
|
Loading…
Reference in a new issue