Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shader_type canvas_item;
- uniform float pixelate: hint_range(2, 512, 4) = 256;
- void fragment()
- {
- vec2 uv = floor(UV * pixelate) / pixelate;
- COLOR = textureLod(SCREEN_TEXTURE, uv, 0.0);
- }
Advertisement
Add Comment
Please, Sign In to add comment