fix: small fixes

This commit is contained in:
2025-11-10 08:54:21 +01:00
parent 24fe873778
commit b7864e1d47
5 changed files with 53 additions and 8 deletions
+4
View File
@@ -220,6 +220,10 @@ vec4 voronoi(vec2 uv, float dist) {
// SHAPES
float circle(vec2 uv, vec2 c, float size) {
return istep(size, length(uv - c));
}
float stripe(float x, float k1, float k2)
{
return k2 > k1 ? (1 - step(x, k1)) * (step(x, k2)) : ((1 - step(x, k2)) * (step(x, k1)));