8 lines
182 B
Plaintext
8 lines
182 B
Plaintext
|
|
shader_type canvas_item;
|
||
|
|
uniform sampler2D tex : repeat_enable;
|
||
|
|
uniform float magic_scale_factor = 1500;
|
||
|
|
|
||
|
|
void fragment() {
|
||
|
|
COLOR = texture(tex, FRAGCOORD.xy/magic_scale_factor);
|
||
|
|
}
|