The goal is to implement a good-looking heat haze effect.
The general idea is:
- Render all particles into a buffer
- Render the world
- Use the information from step one to generate a grey map (the map is generated by the shader) which is used to calculate the vectors which are used to disturb the picture.
What I need to do is create a class that handels all this steps for every heat haze enabled particle system on the screen. I call this class "HeatParticleManager".
Here's a small UML Diagram to get the general idea: