WebGL2 - Write to texture/buffer at arbitrary position - OpenGL imageStore equivalent

249 Views Asked by At

I already know how to write to a texture using Framebuffers.

However, for a project I'm doing that requires FFT's, I need at a point to write, in the same shader, into more than one position of the texture/buffer at once. I have already done this project in OpenGL before, in which I used an imageTexture and "ImageStore" to achieve this effect.

How can I go about achieving this in WebGL?

I can't find anything useful online, since all the things I can find only read from textures or only write to a single point

1

There are 1 best solutions below

0
On

It seems there is no way in WebGL to write to scattered points on a texture.