Setting up occlusion / obstruction between UE4 and Wwise
I have wwise intergrated with 4.10 and I have the basic audio occlusion working where if an object is between the sound source and the listener then occlude 100%.
What i'm wondering is if it's possible to finnesse this system any further. Wwise has a curves in project settings that allow you to change low pass and volume curves based on % of occlusion however when I changed these curves (so 100% wasn't -infinity on volume and LP) I didn't hear any changes in game. It would still occlude 100%.
Is it possible to make it so unreal will recognize a % of occlusion? Can I change or set material properties somewhere to set a 'density' or does this require a coder to do this work for us?
Currently it seems to just jump from 0% to 100% as soon as the player loses line of sight to the sound source.
Is the UE4 audio occlusion using a different system to what wwise is presenting me with and how possible is it to get these two to play with each other?
asked Jan 21 '16 at 02:26 PM in Using UE4
I have created an occlusion system for audio in UE4 and it requires line tracing. I think that if you want to create a deeper occlusion system to replace the one that's given to you by Wwise, you have no other option but to get your hands dirty with some programming.
You can start by creating physical materials that are then associated to geometric elements in your levels (Walls, ... ), then the most important sound emitters in your game have to line trace to your character and if you break the hit result on those line traces, you can see if you (listener) were hit by the line trace or, if not, what kind of material is between the emitter and the listener. From that point on you can create a finer occlusion parameter that talks to LPF and volume attenuation inside Wwise.
answered Feb 25 '16 at 12:11 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here