1
0
Fork 0
space-capture/scenes/ships_fleet/ship/trail.gdshader
2024-09-01 14:45:22 +02:00

8 lines
171 B
Text

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.);
}