my gdscript side looks like this: var input = texture.get_image() var input_bytes = input.get_data() buffer = rd.storage_buffer_create(input_bytes.size(), input_bytes) ... uniform.uniform_type = RenderingDevice.UNIFORM_TYPE_STORAGE_BUFFER var image = Image.create_from_data(seedsize.x, seedsize.y, fa...
Giving me an abstract image with dimensions 1024x2048000 which I intend to pass through a compute shader at some rate related to my physics process. I primarily want to avoid processing it TOO fast. I do not want to call whatever number of threads is required to process the entire image, I want to c...
I run the scene and i see a null screen. I uncomment the line in process: self.texture = Image.create_from_data( ...texture_get_data(UniformTextureRID ... ) suddenly the screen has a texture, so the image I sent to the GPU made it back in the same format (and color) which is a problem because this i...
...dispatching compute pipeline and setting up a data buffer that I would like to be an image... fmt = RDTextureFormat.new() fmt.width = texture.get_width() fmt.height = texture.get_height() fmt.format = RenderingDevice.DATA_FORMAT_R8G8B8A8_UINT fmt.usage_bits = #blahblahblah this bitwise isn't the...
I have read the proposals surrounding exposing the projection matrix but I have also tinkered around until I can translate the camera by the inverse of it's z axis, making it seem far away in the direction I'm trying to mimic, but then setting the near plane changes the whole projection so that if I...