Auburn / FastNoiseLite

Fast Portable Noise Library - C# C++ C Java HLSL GLSL JavaScript Rust Go
http://auburn.github.io/FastNoiseLite/
MIT License
2.79k stars 327 forks source link

What are the min and max values which can be returned ? #18

Closed cgiles closed 7 years ago

cgiles commented 7 years ago

Hello,

I'm playing with noise recently, trying to create biomes, and I ended using your great library.

My only issue is I can't found what is the extrem min and max value ( like 0.0 and 1.0, by example) that the getNoise(...) function returns.

I use the c++ version.

Is it possible to know what it the min and max value we can expect ?

Auburn commented 7 years ago

As stated in the wiki: All outputs are approximately bounded from -1.0 to 1.0, except for distance functions on cellular noise

cgiles commented 7 years ago

Thanks I missed this :/