An example showing how to do reaction diffusion in a compute shader. This also demonstrates how to use images in compute shaders for random access read/write, making these types of effects easier to achieve
This demo uses the base shader system rather than shader.builder
I just downloaded this exiting example but in the current beta 3.7.1 (371) this example doesn’t seem to do anything on my ipad (Ipad pro iirc it’s from 2018)
Didn’t have any errors on my iPad Pro, but it didn’t display anything on the screen. Acted like it didn’t like something in the shader where it just doesn’t show anything.
I think I know what that is. The setBuffer() function no longer takes an access mode, since this can be inferred from shader metadata, so the extra parameter is not recognised