added the game

This commit is contained in:
JHDev2006
2025-09-13 16:30:32 +01:00
parent 5ef689109b
commit 3773bdaf64
3616 changed files with 263702 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
shader_type canvas_item;
void fragment() {
vec4 tex_color = texture(TEXTURE, UV);
vec4 color = tex_color;
// Get pixel coordinate in texture space
vec2 tex_size = vec2(textureSize(TEXTURE, 0)); // Godot 4
ivec2 coord = ivec2(floor(UV * tex_size));
// Simple checker pattern based on texture pixel positions
bool checker = (coord.x + coord.y) % 2 == 0;
if (checker)
{
discard;
}
}