Add **Depth Offset to materials**

This commit is contained in:
Wojtek Figat
2023-01-29 22:09:51 +01:00
parent a214c14a4d
commit a219a3d2eb
13 changed files with 73 additions and 13 deletions

View File

@@ -83,9 +83,10 @@ struct Material
float Opacity;
float3 SubsurfaceColor;
float Refraction;
float3 WorldDisplacement;
float Mask;
float TessellationMultiplier;
float3 WorldDisplacement;
float DepthOffset;
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT];
#endif