Weird math.noise issue?

Values above 2048584 return 0 when used in math.noise…

print(math.noise(2048583.1)) --> 0.12299346923828125
print(math.noise(2048584.1)) --> 0

Is this some limitation or am I using math.noise wrong

1 Like

Might be a bug in the way math.noise works.

quite annoying, because I wanted to use os.time() for the x argument
although I can kinda get it to work above 2048584 if I play around with the y and z arguments

it seems like the only way to circumvent this is to use a external perlin noise module
this one works fine for me: Simplex Noise Module

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.