Shaped Audio Reverb Zones by naelstrof - 2

Audio

A Unity implementation for arbitrarily shaped Reverb Zones.

Unity 2019.3.9f1MIT LicenseUpdated 20 days agoCreated on July 7th, 2020
Go to source

ShapedAudioReverbZones

image kinda showing not much

A Unity implementation for arbitrarily shaped Reverb Zones. Default Unity reverb zones don’t allow for box-shaped rooms, they also don’t allow for overlapping reverb zones with priorities. This implementation seeks to fix that.

Usage

There’s a working example included in the project, though here’s some really poor instructions anyway:

  1. Put a AudioReverbConsumer on the audio listener, set the reverbLayer to where you’ll place your reverb zones (IgnoreRaycast is a good one).
  2. Create an audio mixer and expose the SFX Reverb variables (you’ll have to rename them too).

image showing exposing of variables

  1. Create an empty gameobject in the scene, and add a AudioReverbArea to it.
  2. Add a non-mesh collider to the empty gameobject and drag it into the Shape variable of the AudioReverbArea.
  3. Set the AudioReverbArea preset as desired.
  4. Ensure emitted audio is targetting the mixer with the SFX Reverb filter on it.
Show all projects by naelstrof