| 1 | == Heat Haze == |
| 2 | |
| 3 | The goal is to implement a good-looking heat haze effect. |
| 4 | |
| 5 | The general idea is: [[br]] |
| 6 | 1. Render all particles into a buffer [[br]] |
| 7 | 2. Render the world [[br]] |
| 8 | 3. 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.[[br]] |
| 9 | |
| 10 | 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".[[br]] |
| 11 | Here's a small UML Diagram to get the general idea: [[br]] |
| 12 | {{{ |
| 13 | #!html |
| 14 | <img src="https://dev.orxonox.net/attachment/wiki/HeatHaze/HeatHaze.png?format=raw"> |
| 15 | }}} |
| 16 | |
| 17 | |