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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback