Hi! I have a question about noise that I’m not sure is in scope for this forum but here goes.
I’d like to be able to query the exact SimplexPerlin3D noise algorithm shown here in NME (like
noise.getValue(x,z)) and get the value at that point as a float between 0 and 1. I know that it’s not possible to query the material from the CPU, but is there a way to run the exact same algorithm in the CPU so I have some data structure with the same data just for querying? I’d like the performance of the shader in my rendering, but i’d also like to have some way to access the data about the resulting shape, and that doesn’t have to be super performant.
- how do I get the worldPos seed so my output is guaranteed to be the same?
- is there already a JS version of this algorithm? if not, would it be possible for me to write one or is there some obstacle I’m not considering?