Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Is something like this WebGL fluid simulation shader possible with processing PShader?

$
0
0
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.
  1. Usage of float textures (because RGBA texture 8-bit per channel is just not precise enought to make smooth fluid simulation)
  2. Using the same texture as both - input and output array for the fragment shader
because these 2 things I need for some other things I want to do.

Thank you

Viewing all articles
Browse latest Browse all 1768

Trending Articles