Quantcast
Channel: Latest Questions by revolute
Viewing all articles
Browse latest Browse all 45

Range of perlin noise values?

$
0
0
I am currently wondering whether the generated perlin values can go over 1 or below 0 as I am doing a random terrain generation and trying to reduce cost of generating terrains. I can do a check but considering how large a terrain map can be and how heightmap and alphamap can be large (my current setup is 513 for heightmap and 512 for alphamap), adding another branch condition in the loops is not exactly ideal for me. Just with the values I'm currently using, I would end up with using 500k of ifs.

Viewing all articles
Browse latest Browse all 45

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>