unreal.RefractionCoverageMode

class unreal.RefractionCoverageMode

Bases: EnumBase

Determines how the refraction account for the coverage with Substrate. It can only be used when Substrate is enabled.

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

RCM_COVERAGE_ACCOUNTED_FOR: RefractionCoverageMode

account for roughness, coverage and depth. This is a more physically based behavior: the background scene will be visible untouched according to (1-coverage), while the blurred version will be visible according to coverage.

Type:

1

Type:

This is a new behavior available with Substrate when rough refraction are enabled

RCM_COVERAGE_IGNORED: RefractionCoverageMode

coverage is ignored and always 1. When rough refraction is disabled, this is behavior is forced ON.

Type:

0

Type:

This is the pre-Substrate behavior