mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-23 14:06:50 +01:00
12 lines
222 B
Plaintext
12 lines
222 B
Plaintext
|
shader_type canvas_item;
|
||
|
|
||
|
uniform float size_x = 0.008;
|
||
|
uniform float size_y = 0.008;
|
||
|
|
||
|
void fragment() {
|
||
|
vec2 uv = SCREEN_UV;
|
||
|
uv -= mod(uv, vec2(size_x, size_y));
|
||
|
|
||
|
COLOR.rgb = textureLod(SCREEN_TEXTURE, uv, 0.0).rgb;
|
||
|
}
|