[2.1.14] voronoi_cell_id generates repeated cell ids near (0,0)
Posted: Mon Aug 10, 2026 9:43 pm
voronoi_cell_id seems to always assign the same exact ids to the cells directly top-left and bottom-right from (0,0). Same for the bottom-left and top-right pair. The other ids seem to be randomized properly.
Test expression:
Visualisation from noise-tools:
Raw noise values:
Test expression:
Code: Select all
{
type = "noise-expression",
name = "cell_id",
expression = [[
if (
abs(x) < 200 & abs(y) < 200,
voronoi_cell_id {
x = x,
y = y,
seed0 = map_seed,
seed1 = 0,
grid_size = 50,
distance_type = 1,
jitter = 0.2
},
0
)
]],
},