shader_type spatial; render_mode unshaded,particle_trails,cull_disabled; uniform sampler2D tex_gradient : source_color; void fragment() { vec3 col = texture(tex_gradient, vec2(COLOR.a,0.5)).rgb; ALBEDO = col; ALPHA = COLOR.a; }