Boss hit animation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user