Boss hit animation

This commit is contained in:
2023-09-08 01:34:37 -07:00
parent 5362240120
commit 929629a826
10 changed files with 169 additions and 31 deletions

View File

@@ -1,8 +1,9 @@
shader_type spatial;
uniform vec3 albedo : source_color;
varying float setAlpha;
void fragment() {
ALBEDO = albedo;
ALPHA = setAlpha;
void vertex(){
VERTEX.y += sin(TIME * 5.0 * VERTEX.x * 8.0) * 0.2;
}
void fragment() {
ALBEDO = vec3(1, 0, 0);
}