EMaterialDecalResponse

Defines how the material reacts on DBuffer decals, later we can expose more variants between None and Default.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/Material.h

Include

#include "Materials/Material.h"

Syntax

enum EMaterialDecalResponse
{
    MDR_None,
    MDR_ColorNormalRoughness,
    MDR_Color,
    MDR_ColorNormal,
    MDR_ColorRoughness,
    MDR_Normal,
    MDR_NormalRoughness,
    MDR_Roughness,
    MDR_MAX,
}

Values

Name

Description

MDR_None

Do not receive decals (Later we still can read the DBuffer channels to customize the effect, this frees up some interpolators).

MDR_ColorNormalRoughness

Receive Decals, applies all DBuffer channels, assumes the decal is non metal and mask the subsurface scattering.

MDR_Color

Receive Decals, applies color DBuffer channels, assumes the decal is non metal and mask the subsurface scattering.

MDR_ColorNormal

Receive Decals, applies all DBuffer channels, assumes the decal is non metal and mask the subsurface scattering.

MDR_ColorRoughness

Receive Decals, applies all DBuffer channels, assumes the decal is non metal and mask the subsurface scattering.

MDR_Normal

Receive Decals, applies all DBuffer channels, assumes the decal is non metal and mask the subsurface scattering.

MDR_NormalRoughness

Receive Decals, applies all DBuffer channels, assumes the decal is non metal and mask the subsurface scattering.

MDR_Roughness

Receive Decals, applies all DBuffer channels, assumes the decal is non metal and mask the subsurface scattering.

MDR_MAX

Remarks

Defines how the material reacts on DBuffer decals, later we can expose more variants between None and Default.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss