just reorganised files thats it

This commit is contained in:
2025-06-24 02:55:20 +10:00
parent 3c5c8f1a44
commit 2bfea6471c
198 changed files with 313 additions and 747 deletions

15
Shaders/pixelate.gdshader Normal file
View File

@@ -0,0 +1,15 @@
shader_type canvas_item;
uniform sampler2D SCREEN_TEXTURE: hint_screen_texture, filter_linear_mipmap;
uniform int pixel_size : hint_range(1, 64) = 4; // Pixel size
uniform vec2 screen_size = vec2(1920.0, 1080.0); // Screen size (set manually)
void fragment() {
//Pixel coordinates in screen space
vec2 pixel_coords = floor(FRAGCOORD.xy / float(pixel_size)) * float(pixel_size);
// Convert pixel coordinates to UVs for screen texture
vec2 uv = pixel_coords / screen_size;
// Get color from texture screen
COLOR = texture(SCREEN_TEXTURE, uv);
}