Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect value in Noise.cs #13

Open
Zxynine opened this issue May 12, 2022 · 0 comments
Open

Incorrect value in Noise.cs #13

Zxynine opened this issue May 12, 2022 · 0 comments

Comments

@Zxynine
Copy link

Zxynine commented May 12, 2022

In the noise class for 3d noise, it seems like your code was based off of code that contained a mistake in it. That mistake was later corrected and detailed within a paper on page 13 => https://weber.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf

your values of 0.6 should be 0.5

This may be why your function sometimes does not return a value between -1 and 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant