Nextjs App Animation Using ShaderToy Example not displaying on iOS

Hello guys!

I was able to port this shadertoy example to a next js app component (sandbox example here) with the help of this discussion. Everything seems to work fine on all devices except iOS devices.

The original shadertoy example also doesn’t show on iOS devices. It just dsplays a black screen. Same thing with the discussion example I followed. I would like to know if there is a way to fix this and if this has to do with the buffers.