Question: How to implement buffer ?
melMass opened this issue · comments
Mel Massadian commented
I'm trying to implement a fluid GLSL shader I have written.
I've used the glslViewer
which by defaults comes with buffers from my searches it seems the best would be to split each buffer to its own shader. I just don't understand how to then share the buffer across react components.
For now here is the layout of my shader:
- buffer0 => advect fluids
- buffer1 => copy buffer0
- else => copy buffer1