unreal.OcclusionCombineMode

class unreal.OcclusionCombineMode

Bases: unreal.EnumBase

Controls how occlusion from Distance Field Ambient Occlusion is combined with Screen Space Ambient Occlusion.

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

OCM_MINIMUM

Take the minimum occlusion value. This is effective for avoiding over-occlusion from multiple methods, but can result in indoors looking too flat.

Type

0

OCM_MULTIPLY

Multiply together occlusion values from Distance Field Ambient Occlusion and Screen Space Ambient Occlusion. This gives a good sense of depth everywhere, but can cause over-occlusion. SSAO should be tweaked to be less strong compared to Minimum.

Type

1