|
|
|
|
|
|
|
|
|
|
CBUFFER_START(_PerMaterial) |
|
|
|
|
|
|
|
|
|
|
|
// shared constant between lit and layered lit |
|
|
|
float _AlphaCutoff; |
|
|
|
float4 _DoubleSidedConstants; |
|
|
|
|
|
|
float3 _EmissionColor; |
|
|
|
|
|
|
|
#ifndef LAYERED_LIT_SHADER |
|
|
|
|
|
|
|
CBUFFER_START(_PerMaterial) |
|
|
|
|
|
|
|
// Set of users variables |
|
|
|
float4 _BaseColor; |
|
|
|
|
|
|
float4 _UVMappingMask; |
|
|
|
float4 _UVDetailsMappingMask; |
|
|
|
|
|
|
|
CBUFFER_END |
|
|
|
|
|
|
|
#else // LAYERED_LIT_SHADER |
|
|
|
|
|
|
|
|
|
|
float _TessellationObjectScale; |
|
|
|
float _TessellationTilingScale; |
|
|
|
#endif |
|
|
|
|
|
|
|
CBUFFER_END |