版本
menu_open

Setting Obstruction and Occlusion

The game engine is responsible for determining the obstruction and occlusion values, which it does using the position of the objects and listeners in relation to the game's geometry.

[Note] Programmer Note

The obstruction and occlusion values for each game object affecting each listener must be passed down to the sound engine from the game programmatically.

In the Obstruction/Occlusion tab of the Project Settings dialog box, you can enable and define the default volume and Low Pass Filter (LPF) curves for obstruction and occlusion for each active platform in the project. Sound designers can also enable or disable the usage of any curve to best suit their performance and realism needs.

Customizing Obstruction and Occlusion Curves in the Project Settings

Using the curve of this snapshot, setting an obstruction value of 1.0f (100%) will produce a volume change of -50 dB on the source object.

[Note] Designer Note

It is a good practice to always define curves in a linear fashion to minimize CPU and memory usage in the project. Keep curves as simple as possible to begin with and customize only as needed.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅