Post Game jam commit

This commit is contained in:
Daniel Kauss Serna 2026-02-03 21:06:49 +01:00
commit 6db2131520
164 changed files with 172524 additions and 0 deletions

View file

@ -0,0 +1,21 @@
shader_type canvas_item;
uniform vec4 replace : source_color = vec4(0.0);
uniform float intensity : hint_range(0.0, 5.0, 0.1);
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
vec4 tex_color = texture(TEXTURE, UV);
float color_diff = distance(tex_color.rgb, replace.rgb);
if (color_diff < 0.03) {
COLOR = tex_color * intensity;
} else
{
COLOR = tex_color;
}
}