Is something like this WebGL fluid simulation shader possible with processing PShader?
in
Core Library Questions
•
3 months ago
Hello,
In processing example librady, there is an example how to import WebGL examples of glsl shaders from shaderToy (which is working very well)
I wonder if it is possible to do something more complex like this fluid simulation example which I found on WebGL playground:
I have to say that I didn't got understand code yet. But in principle I expect there are two things required which I dont know how to do with PShader in processing.
- Usage of float textures (because RGBA texture 8-bit per channel is just not precise enought to make smooth fluid simulation)
- Using the same texture as both - input and output array for the fragment shader
Thank you
1