1
0
Fork 0
space-capture/scenes/ships_fleet/ship/trail.gdshader

9 lines
171 B
Text
Raw Normal View History

2024-09-01 14:45:22 +02:00
shader_type canvas_item;
render_mode blend_add;
uniform vec3 color: source_color = vec3(1., 0., 1.);
void fragment() {
COLOR = vec4(COLOR.r * color + COLOR.ggg, 1.);
}