Navigation
API > API/Runtime > API/Runtime/Engine
Defines how the GBuffer channels are getting manipulated by a decal material pass. Actual index is used to control shader parameters so don't change order.
| Name | EDecalBlendMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/Material.h |
| Include Path | #include "Materials/Material.h" |
Syntax
enum EDecalBlendMode
{
DBM_Translucent,
DBM_Stain,
DBM_Normal,
DBM_Emissive,
DBM_DBuffer_ColorNormalRoughness,
DBM_DBuffer_Color,
DBM_DBuffer_ColorNormal,
DBM_DBuffer_ColorRoughness,
DBM_DBuffer_Normal,
DBM_DBuffer_NormalRoughness,
DBM_DBuffer_Roughness,
DBM_DBuffer_Emissive,
DBM_DBuffer_AlphaComposite,
DBM_DBuffer_EmissiveAlphaComposite,
DBM_Volumetric_DistanceFunction,
DBM_AlphaComposite,
DBM_AmbientOcclusion,
DBM_MAX,
}
Values
| Name | Remarks |
|---|---|
| DBM_Translucent | Blend full material, updating the GBuffer, does not work for baked lighting. |
| DBM_Stain | Modulate BaseColor, blend rest, updating the GBuffer, does not work for baked lighting. |
| DBM_Normal | Only blend normal, updating the GBuffer, does not work for baked lighting. |
| DBM_Emissive | Additive emissive only. |
| DBM_DBuffer_ColorNormalRoughness | Put into DBuffer to work for baked lighting as well (becomes DBM_TranslucentNormal if normal is not hooked up). |
| DBM_DBuffer_Color | Put into DBuffer to work for baked lighting as well. |
| DBM_DBuffer_ColorNormal | Put into DBuffer to work for baked lighting as well (becomes DBM_DBuffer_Color if normal is not hooked up). |
| DBM_DBuffer_ColorRoughness | Put into DBuffer to work for baked lighting as well. |
| DBM_DBuffer_Normal | Put into DBuffer to work for baked lighting as well. |
| DBM_DBuffer_NormalRoughness | Put into DBuffer to work for baked lighting as well (becomes DBM_DBuffer_Roughness if normal is not hooked up). |
| DBM_DBuffer_Roughness | Put into DBuffer to work for baked lighting as well. |
| DBM_DBuffer_Emissive | Internal DBffer decal blend modes used for auto-converted decals |
| DBM_DBuffer_AlphaComposite | |
| DBM_DBuffer_EmissiveAlphaComposite | |
| DBM_Volumetric_DistanceFunction | Output signed distance in Opacity depending on LightVector. |
| DBM_AlphaComposite | Blend with existing scene color. Decal color is already pre-multiplied by alpha. |
| DBM_AmbientOcclusion | Ambient occlusion. |
| DBM_MAX |