Water fountain simulation

Hello! :slight_smile:

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.