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?
Answer
You will need to learn how the terms Octave, Persistence, Frequency, and Lacunarity are used. What you have is a good first step, it looks just like noise should.
The basic idea is that you need to combine multiple noise sources into one result to achieve the final look. This combination can be something simple like addition, but you can take many mathematical operations.
In the end a typical example for your grainy clouds looks like this: Map = Map1 + (Map2 / 2) + (Map3 / 4) + (Map4 / 8)
For reference and examples: Start here
No comments:
Post a Comment