You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
899 B
25 lines
899 B
#ifndef UNIVERSAL_UNLIT_INPUT_INCLUDED |
|
#define UNIVERSAL_UNLIT_INPUT_INCLUDED |
|
|
|
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl" |
|
|
|
CBUFFER_START(UnityPerMaterial) |
|
float4 _BaseMap_ST; |
|
half4 _BaseColor; |
|
half _Cutoff; |
|
half _Surface; |
|
CBUFFER_END |
|
|
|
#ifdef UNITY_DOTS_INSTANCING_ENABLED |
|
UNITY_DOTS_INSTANCING_START(MaterialPropertyMetadata) |
|
UNITY_DOTS_INSTANCED_PROP(float4, _BaseColor) |
|
UNITY_DOTS_INSTANCED_PROP(float , _Cutoff) |
|
UNITY_DOTS_INSTANCED_PROP(float , _Surface) |
|
UNITY_DOTS_INSTANCING_END(MaterialPropertyMetadata) |
|
|
|
#define _BaseColor UNITY_ACCESS_DOTS_INSTANCED_PROP_FROM_MACRO(float4 , Metadata_BaseColor) |
|
#define _Cutoff UNITY_ACCESS_DOTS_INSTANCED_PROP_FROM_MACRO(float , Metadata_Cutoff) |
|
#define _Surface UNITY_ACCESS_DOTS_INSTANCED_PROP_FROM_MACRO(float , Metadata_Surface) |
|
#endif |
|
|
|
#endif
|
|
|