View Full Version : Water fountain simulation

12-10-2012, 08:31 AM
Hello! :)

If this post shouldn't be in this section feel free to move it ;p

Ok, as topic indicates, my task is to create a fountain simulation with water particles and water surface collision. To this point I have created water surface using one shader, and another shader to create fountain particles (fountain particles' shader is also using transform feedback mechanism).

My question is: how can I make/detect fountain particles and water surface collision? - I would like to know how to get particle's vertex and plane's vertex from GL buffers to make a collision.