- Home /
Question by
nik_topel · May 02, 2021 at 02:37 PM ·
2d platformerprocedural generationperlin noiseprocedural-terrain
Perlin noise generates weird flat spots
I have been working on a 2d perlin noise terrain generator, but somehow I keep getting these weird flat spots here is the code I use to generate the noise (Amplitude * Mathf.PerlinNoise((X / Frequency) + 0.5f, Seed + (o * 0.75f)));
here is the code with numbers (25 * Mathf.PerlinNoise((X / 50) + 0.5f, 56700 + (0 * 0.75f)));
is that normal or am I doing something wrong?
Result: https://imgur.com/wEi35zR
Comment
Answer by nik_topel · May 02, 2021 at 03:15 PM
I use several octaves of perlin noise to fix this, but it doesn't return such a smooth result, if you only use one layer of perlin noise please share your code.