Pre-baked Reverb Prediction System + Occlusion and Audio Portalling | Preview Video
Over the last few weeks I've been finalizing this pre-baked reverb prediction system in UE5 with FMOD. I'm working on a more extensive video about this, here is a short preview:
One of the things that consumes a lot of time during development is placing and adjusting reverb/acoustic volumes. These volumes are generally placed in the world, and communicate which reverb should be used for sounds played in a specific area. Placing these volumes is a meticulous task that can take a lot of time to maintain due to iterative development cycles.
I've been exploring the solution for this with a pre-baked reverb prediction system that uses offline line tracing to store data on reverb and absorption properties in the game world. A bit like how lighting bakes work.
When an audio source plays in the world, it read the baked data from a point nearby and mixes that with the reverb of the players location. Some additional processing is done based on the distance and orientation of the source.
There is a optional occlusion and portalling feature that places audio portals on corners and in the line of sight between the player and the source. These features are both optional because it's heavier on performance, and can be turned on and off for each sound event.
Huge thanks to my previous colleague and Technical Artist Daniel Torkar. He played a huge part in tackling this problem.