Added hit indicator shader

This commit is contained in:
2026-07-25 15:49:08 +03:00
parent ed714e611a
commit 7c8c39ad6e
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
shader_type canvas_item;
uniform vec3 damage_color : source_color = vec3(1.0);
uniform float intensity : hint_range(0.0, 1.0) = 0.0;
void fragment() {
COLOR.rgb = mix(COLOR.rgb, damage_color.rgb, intensity);
}
+1
View File
@@ -0,0 +1 @@
uid://bywlejhmgj55q