Hi there, I was wondering if there is anyway I can refer to one specific reverb definiton. For example if I have several reverb definitions created in FMOD designer, is it possible to access and enable and disable only one of them instead of all?
- pcorvo asked 10 years ago
The programmer’s api for those reverb definitions is just ‘get the preset by name’ then it is up to the programmer to set that one preset if they want.
There is nothing stopping you only using one preset. They’re presets, they’re not activated in the game until the programmer says so.
ok, my problem is that once I set one reverb to active and then move my character and activate another reverb that is "in range" and then setreverbProperties(FMOD_PRESET_OFF) of the eventsystem for the reverb that has left range they both stop. I notice this happens in fmod designer if you have several reverb definitions and click play or stop it applies to both of them?
simultaneous reverbs is a different topic.
You can do that in game code by specifying which ‘instance’ of reverb you want to activate, and have a different preset on each instance.
Another method is not to use 2 reverbs because they use memory and cpu. You instead morph between the reverb settings in game.
This is what fmod’s 3d reverb api does. You can place reverb ‘spheres’ all around your map and simply walk around the world, getting reverb gradually changing between presets as you move.
Please login first to submit.