You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
279 B
11 lines
279 B
|
8 months ago
|
shader_type canvas_item;
|
||
|
|
|
||
|
|
uniform vec2 tiling_scale = vec2(5.0, 5.0);
|
||
|
|
uniform sampler2D noise : repeat_enable;
|
||
|
|
|
||
|
|
void fragment() {
|
||
|
|
vec2 uv = vec2(UV.x * tiling_scale.x, UV.y * tiling_scale.y); // Change 10.0 to control tiling scale
|
||
|
|
COLOR = texture(TEXTURE, fract(uv));
|
||
|
|
}
|
||
|
|
|