#PackedByteArray/PackedFloat32Array conversion or similar

1 messages · Page 1 of 1 (latest)

river rivet
#

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.

keen pivot
river rivet
river rivet