Added hit indicator shader
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://bywlejhmgj55q
|
||||||
Reference in New Issue
Block a user