unreal.DecalBlendMode
¶
- class unreal.DecalBlendMode¶
Bases:
EnumBase
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.
C++ Source:
Module: Engine
File: Material.h
- DBM_ALPHA_COMPOSITE: DecalBlendMode¶
Blend with existing scene color. Decal color is already pre-multiplied by alpha.
- Type:
15
- DBM_AMBIENT_OCCLUSION: DecalBlendMode¶
Ambient occlusion.
- Type:
16
- DBM_D_BUFFER_COLOR: DecalBlendMode¶
Put into DBuffer to work for baked lighting as well.
- Type:
5
- DBM_D_BUFFER_COLOR_NORMAL: DecalBlendMode¶
Put into DBuffer to work for baked lighting as well (becomes DBM_DBuffer_Color if normal is not hooked up).
- Type:
6
- DBM_D_BUFFER_COLOR_NORMAL_ROUGHNESS: DecalBlendMode¶
Put into DBuffer to work for baked lighting as well (becomes DBM_TranslucentNormal if normal is not hooked up).
- Type:
4
- DBM_D_BUFFER_COLOR_ROUGHNESS: DecalBlendMode¶
Put into DBuffer to work for baked lighting as well.
- Type:
7
- DBM_D_BUFFER_NORMAL: DecalBlendMode¶
Put into DBuffer to work for baked lighting as well.
- Type:
8
- DBM_D_BUFFER_NORMAL_ROUGHNESS: DecalBlendMode¶
Put into DBuffer to work for baked lighting as well (becomes DBM_DBuffer_Roughness if normal is not hooked up).
- Type:
9
- DBM_D_BUFFER_ROUGHNESS: DecalBlendMode¶
Put into DBuffer to work for baked lighting as well.
- Type:
10
- DBM_EMISSIVE: DecalBlendMode¶
Additive emissive only.
- Type:
3
- DBM_NORMAL: DecalBlendMode¶
Only blend normal, updating the GBuffer, does not work for baked lighting.
- Type:
2
- DBM_STAIN: DecalBlendMode¶
Modulate BaseColor, blend rest, updating the GBuffer, does not work for baked lighting. Does not work in DBuffer mode (approximated as Translucent).
- Type:
1
- DBM_TRANSLUCENT: DecalBlendMode¶
Blend full material, updating the GBuffer, does not work for baked lighting.
- Type:
0
- DBM_VOLUMETRIC_DISTANCE_FUNCTION: DecalBlendMode¶
Can be costly, no shadow casting but receiving, no per pixel normal yet, no quality settings yet
- Type:
14
- Type:
Output signed distance in Opacity depending on LightVector. Note