Module |
|
Header |
/Engine/Source/Runtime/Renderer/Public/DecalRenderingCommon.h |
Include |
#include "DecalRenderingCommon.h" |
enum EDecalRenderStage
{
DRS_BeforeBasePass = 0,
DRS_AfterBasePass = 1,
DRS_BeforeLighting = 2,
DRS_Mobile = 3,
DRS_AmbientOcclusion = 4,
DRS_Emissive = 5,
}
Name |
Description |
---|---|
DRS_BeforeBasePass |
For DBuffer decals (get proper baked lighting) |
DRS_AfterBasePass |
For volumetrics to update the depth buffer |
DRS_BeforeLighting |
For normal decals not modifying the depth buffer |
DRS_Mobile |
For rendering decals on mobile |
DRS_AmbientOcclusion |
For rendering ambient occlusion decals |
DRS_Emissive |
For DBuffer decals that have emissive component. |
Actual values are used in the shader so do not change.