I have an Issue ive been trying to solve for quite a while now. I need to sample noise, save it in a Array ( ive been using PackedByteArrays) and create an image out of it. I have been doing this exact setup for an Image of type FORMAT_R8 to use as heightmap. But 8 bits arent enough for high fidelity displacement. I´ve tried FORMAT_RF but that requires a PackedFloat32Array which Image.set_data() does not support.
#PackedByteArray/PackedFloat32Array conversion or similar
1 messages · Page 1 of 1 (latest)
Check out the to_byte_array function.
Are you using FastNoiseLite directly or a NoiseTexture? Because NoiseTexture is low fidelity (not in r8 format), your problem might be resolved by directly sampling FastNoiseLite.
Just woke up, I am using FastNoiseLite directly and i create a 256^2 texture from it in a thread. Each chunk has their own.
Will try that