Skip to main content

Creating HOM 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 Hierarchical Occluder Mesh

About

HOM occluders are essential for optimizing levels. They remove the geometry in the occluder.

Start

For the tutorial, the creation will be for Static Object, but HOM occluders can also be used for other purposes (e.g. for tall view bounders, hills, etc.). Let's take this as an example:

Model Example centered

All we need to do is create a mesh that simplistically represents our model:

Model Result centered

tip

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

Surface

Go to Material PropertiesMaterial Properties svg-icon.

Create a separate material for our HOM occluder.

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

Shader

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

Any Game Material

Game MaterialTechnical Terms
Responsible for the physical feature of the surface (friction, damping, etc.).
(Example materials/occ - This material does not include rendering parameters that are unnecessary for the calculation) (list of all Game Materials Anomaly Modding Book)

Finish

Go to Object PropertiesObject Properties svg-icon.

In X-Ray Engine: Object Anomaly Modding Book select HOM in the Type list.

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