Auburn / FastNoiseLite

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

Made cellular jitter constant consistent for all languages #117

Closed ForeverZer0 closed 1 year ago

ForeverZer0 commented 1 year ago

This PR simply adds consistency to a constant value used by the 2D cellular algorithm. The C version and GLSL/HLSL ports baed on it use a value of 0.5 instead of 0.43701595, resulting in inconsistent output with the same inputs based on the language used.

This PR addresses #115.

Auburn commented 1 year ago

Thanks, I'm going to pull it into the 1.1 branch since it changes the output