Merge remote-tracking branch 'MaD_CaT/master'

This commit is contained in:
sasha80
2023-12-01 13:36:48 +03:00
5 changed files with 133 additions and 8 deletions

View File

@@ -10,9 +10,9 @@ const float radius = 0.075 - ds * 2.0; /* Радиус долж
uniform float speed: hint_range(0.0, 1024.0) = 0.0; /* Время вспышки при обновлении, c */
uniform int ant_band_count_0 = 3;
const float ant_band_r0_0 = 0.3;
uniform float ant_band_r0_0 = 0.3;
const float ant_band_r1_0 = 0.4;
uniform float ant_band_r1_0 = 0.4;
float smooth_px(float r, float R, float dss)
{

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