I've written some fixed point noise functions for GPU HLSL (and C# with Unity.Ma...
Rune Skovbo Johansen @runevision@mastodon.gamedev.place
I've written some fixed point noise functions for GPU HLSL (and C# with Unity.Mathematics) in order to be able to generate terrain far from the origin.
I divide each world unit into 256 and thus have a usable range of +/- 8000000 world units, but the functions support arbitrary unit resolutions.
Code is here, if it might be of use to anyone else:
https://gist.github.com/runevision/6dfd6085d0146150202a201cce942fc8
#ProcGen