Доработка. Отображение режима помехи в секторе

This commit is contained in:
sasha80
2025-10-13 14:04:31 +03:00
parent d09a0f3f4c
commit 53667e5ac9
4 changed files with 10 additions and 6 deletions

View File

@@ -78,11 +78,11 @@ void antenas(inout vec4 c, vec2 uv, vec2 p0, int cnt, float r0, float r1, inout
}
col.rgb = ant_band_c[j].rgb;
index++;
col.a = alpha;
float v = float(i & 1);
vec4 color = v * col + (1.0f - v) * col;
sector(c, uv, p0, float(i) * da, da, r0, r1, color);
}
col.a = alpha + (random_timed(uv) - 0.5f) * ant_band_c[j].a;
float v = float(i & 1);
vec4 color = v * col + (1.0f - v) * col;
sector(c, uv, p0, float(i) * da, da, r0, r1, color);
}
}