12 lines
245 B
Plaintext
12 lines
245 B
Plaintext
shader_type spatial;
|
|
render_mode blend_mix, cull_disabled, depth_draw_alpha_prepass, shadows_disabled;
|
|
|
|
uniform vec4 color : hint_color;
|
|
uniform float alpha : hint_range(0.0, 1.0) = 1.0;
|
|
|
|
void fragment()
|
|
{
|
|
ALPHA = alpha;
|
|
ALBEDO = color.rgb;
|
|
}
|