Armazon/props/explosion/shader_explosion1.gdshader

18 lines
292 B
Plaintext
Raw Permalink Normal View History

2024-01-28 13:44:54 -05:00
shader_type spatial;
render_mode blend_mix;
uniform float emission_scale = 0.5;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
ALBEDO = COLOR.rgb;
ROUGHNESS = 1.0;
SPECULAR = 0.0;
EMISSION = COLOR.rgb * emission_scale;
ALPHA = COLOR.a;
}