• Advertisement
Sign in to follow this  

Random Gradients for Perlin Noise

This topic is 1815 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! My question is pretty simple: What are some good ways to generate random N-dimensional gradients for Perlin noise?

Share this post


Link to post
Share on other sites
Advertisement

[url="https://github.com/ashima/webgl-noise/blob/master/src/classicnoise4D.glsl"]Something purely algorithmic like mod289[/url] is usually good enough for Perlin noise if you can't (or don't want to) afford a lookup texture.

A lookup texture can represent N dimensions by atlassing, see chapter 2.1 of Shader X7.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement