Skip to main content

Creating SOM Occluder in Blender


TheParaziT
TheParaziT
Anomaly Modding Book maintainer

Need to know

  • How to work in Blender
  • How to work with Blender X-Ray Addon Anomaly Modding Book
  • What is a Static Object
  • What is a Sound Occluder Mesh
  • What is a Game Material

About

SOM occluders are needed to calculate the occlusion of the sound, since the sound engine cannot do this in real time. The occlusion will be calculated depending on the Game Material settings.

alt text svg-icon

Start

For example, let's create such an object for a building with a large space inside.

Building example:

alt text centered

Create a mesh that simply represents your model.

alt text centered

tip

You can simply duplicate your model, but remember that the fewer polygons and the better SOM Occluder represents your model, the better.

Surface

Go to Material PropertiesMaterial Properties svg-icon.

Create a separate material for our SOM occluder.

note

If you go to have the sound cut off on both sides, select the 2 Sided flag

In X-Ray Engine: Material Anomaly Modding Book choose:

Shader

Choose any Engine Shader

Engine ShaderTechnical Terms
Shader responsible for the visual appearance of the surface.
for Static Object (list of all Engine Shaders Anomaly Modding Book)

Compiler

Any Compile Shader

Compile ShaderTechnical Terms
Shader used by the Level Compiler. Specifies to the compiler the features of the final game level geometry. The source geometry, depending on the Compile Shader, may have different features.
(list of all Compile Shaders Anomaly Modding Book)

Material

Choose or create new Game Material

Game MaterialTechnical Terms
Responsible for the physical feature of the surface (friction, damping, etc.).
(list of all Game Materials Anomaly Modding Book)

note

In Game Material for the SOM occluder the main factor will be Sound occlusion

Finish

Go to Object PropertiesObject Properties svg-icon.

In X-Ray Engine: Object Anomaly Modding Book select Sound Occluder in Type list.

This completes the setup of the SOM Occluder. You can safely export it in the model format you need.