Kenneth Pirman
Kenneth Pirman
I've encountered this issue when trying to use h3 inside a web-worker as well; edited, I didn't see @padawannn 's comment :)
I've found that you can fix this by changed references to date_preset to null values, or removing them entireley
# Goals - All terrain scattering assets each share a single instance geometry thingy (as opposed to a new one for each chunk) - The location of the assets should...
Apparently I forgot this, so here's a stack overflow that I found while trying to figure out ways to do this https://stackoverflow.com/questions/41880864/how-to-use-three-js-instancedbuffergeometry-instancedbufferattribute
I've implemented this as a hook/component here: https://github.com/kenjinp/hello-worlds/blob/main/apps/docs/examples/moon/Moon.tsx#L71 Should investigate if this can be generalized and extracted to the library, requires knowing exact planet data height data from height generator...