Add **Depth Offset to materials**
This commit is contained in:
@@ -330,6 +330,11 @@ API_ENUM(Attributes="Flags") enum class MaterialUsageFlags : uint32
|
||||
/// The flag used to indicate that material uses refraction feature.
|
||||
/// </summary>
|
||||
UseRefraction = 1 << 6,
|
||||
|
||||
/// <summary>
|
||||
/// The flag used to indicate that material uses per-pixel depth offset feature.
|
||||
/// </summary>
|
||||
UseDepthOffset = 1 << 7,
|
||||
};
|
||||
|
||||
DECLARE_ENUM_OPERATORS(MaterialUsageFlags);
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/// <summary>
|
||||
/// Current materials shader version.
|
||||
/// </summary>
|
||||
#define MATERIAL_GRAPH_VERSION 159
|
||||
#define MATERIAL_GRAPH_VERSION 160
|
||||
|
||||
class Material;
|
||||
class GPUShader;
|
||||
|
||||
Reference in New Issue
Block a user