Доработка. Значки назначения помех и выполнения помех у цели.

This commit is contained in:
MaD_CaT
2023-11-30 15:34:19 +03:00
parent 5dcaef9ea6
commit e17528622d
5 changed files with 134 additions and 8 deletions

View File

@@ -69,11 +69,11 @@ void fragment()
float py1 = 0.0;
COLOR = vec4(1.0, 0.0, 0.0, 0.0); //texture(TEXTURE, UV); // Цвет текущей точки
get_line_points(px0, px1, py0, py1, 330.0);
COLOR.a += line(vec2(px0, py0), vec2(px1, py1), 5.0, UV);
COLOR.a += line(vec2(px0, py0), vec2(px1, py1), 15.0, UV);
get_line_points(px0, px1, py0, py1, 90.0);
COLOR.a += line(vec2(px0, py0), vec2(px1, py1), 5.0, UV);
COLOR.a += line(vec2(px0, py0), vec2(px1, py1), 15.0, UV);
get_line_points(px0, px1, py0, py1, 210.0);
COLOR.a += line(vec2(px0, py0), vec2(px1, py1), 5.0, UV);
COLOR.a += line(vec2(px0, py0), vec2(px1, py1), 15.0, UV);
COLOR *= smooth_px(length(UV-center), radius, DSS);