Search code examples
randomluanoiseperlin-noiselove2d

Improved Perlin noise "too smooth"


I've finally managed to write a working Lua version of Perlin's improved noise for Love 2D. However, when I run it, I get this:

Which is just fine, I guess. But I would like something that looks more like this:

How can I achieve this?


Solution

  • The classic Perlin noise cloud is generated by summing together multiple octaves of noise - each octave has a frequency & an amplitude. The typical approach is to double the frequency & halve the amplitude with every iteration. Refer to this question on How to get more gentle (cloud like) noise? & Amit's terrain from noise demos if you need more details.