129 lines
3.0 KiB
HLSL
129 lines
3.0 KiB
HLSL
#pragma once
|
|
|
|
CBUFFER_START(LitPlusGlobal)
|
|
half gQuality;
|
|
int gGlobalMipmapBias;
|
|
CBUFFER_END
|
|
|
|
CBUFFER_START(UnityPerMaterial)
|
|
|
|
half _SURFACE_TYPE;
|
|
half _Cutoff;
|
|
half _Cull;
|
|
half _PreserveSpecular;
|
|
|
|
sampler2D _BaseMap;
|
|
half4 _BaseMap_ST;
|
|
half4 _BaseColor;
|
|
|
|
sampler2D _BumpMap;
|
|
half _BumpScale;
|
|
|
|
sampler2D _ParallaxMap;
|
|
half _ParallaxScale;
|
|
|
|
sampler2D _BaseMaskMap;
|
|
sampler2D _ExtraMaskMap;
|
|
|
|
int _MetallicSrc;
|
|
half _Metallic;
|
|
int _SmoothnessSrc;
|
|
half _Smoothness;
|
|
int _OcclusionSrc;
|
|
half _OcclusionStrength;
|
|
|
|
half2 _IndirectDiffuseParams;
|
|
|
|
half _DirectDiffuseShadowLift;
|
|
sampler _DirectDiffuseRamp;
|
|
int _DirectDiffuseSkinCurvatureSrc;
|
|
half _DirectDiffuseSkinCurvatureScale;
|
|
sampler2D _DirectDiffuseSkinLUT;
|
|
half4 _DirectDiffuseSkinParams;
|
|
|
|
half3 _DirectSpecularColor;
|
|
half3 _DirectSpecularAnisoParams;
|
|
sampler2D _DirectSpecularFlowMap;
|
|
half4 _DirectSpecularHairParams;
|
|
|
|
half3 _IndirectSpecularParams;
|
|
samplerCUBE _IndirectSpecularCustomCubeMap;
|
|
half4 _IndirectSpecularCustomCubeMap_HDR;
|
|
|
|
int _EmissionMaskSrc;
|
|
sampler2D _EmissionMap;
|
|
half4 _EmissionMap_ST;
|
|
half3 _EmissionColor;
|
|
half3 _EmissionDirectionalFlowParams;
|
|
sampler2D _EmissionFlowMap;
|
|
half2 _EmissionFlowMapParams;
|
|
|
|
int _DetailMaskSrc;
|
|
sampler2D _DetailAlbedoMap;
|
|
half4 _DetailAlbedoMap_ST;
|
|
half _DetailAlbedoMapScale;
|
|
sampler2D _DetailNormalMap;
|
|
half _DetailNormalMapScale;
|
|
half4 _DetailParams;
|
|
|
|
sampler2D _MatCapMaskMap;
|
|
half _MatCapBlendMode1;
|
|
sampler2D _MatCap1;
|
|
half4 _MatCapColor1;
|
|
half _MatCapStrength1;
|
|
half _MatCapBaseMapInfluence1;
|
|
half _MatCapLightColorInfluence1;
|
|
half _MatCapShadowStrength1;
|
|
half _MatCapRotationDegrees1;
|
|
half _MatCapBlendMode2;
|
|
sampler2D _MatCap2;
|
|
half4 _MatCapColor2;
|
|
half _MatCapStrength2;
|
|
half _MatCapBaseMapInfluence2;
|
|
half _MatCapLightColorInfluence2;
|
|
half _MatCapShadowStrength2;
|
|
half _MatCapRotationDegrees2;
|
|
half _MatCapBlendMode3;
|
|
sampler2D _MatCap3;
|
|
half4 _MatCapColor3;
|
|
half _MatCapStrength3;
|
|
half _MatCapBaseMapInfluence3;
|
|
half _MatCapLightColorInfluence3;
|
|
half _MatCapShadowStrength3;
|
|
half _MatCapRotationDegrees3;
|
|
half _MatCapBlendMode4;
|
|
sampler2D _MatCap4;
|
|
half4 _MatCapColor4;
|
|
half _MatCapStrength4;
|
|
half _MatCapBaseMapInfluence4;
|
|
half _MatCapLightColorInfluence4;
|
|
half _MatCapShadowStrength4;
|
|
half _MatCapRotationDegrees4;
|
|
|
|
half3 _RimColor;
|
|
half _RimShadowStrength;
|
|
half4 _RimDirection;
|
|
half4 _RimParams;
|
|
|
|
half _DebugVertColor;
|
|
half _DebugUV;
|
|
half _DebugMapColor;
|
|
half _DebugMaskChannel;
|
|
half _DebugPBRData;
|
|
half _DebugTBN;
|
|
half _DebugDotProduct;
|
|
half _DebugMainLightData;
|
|
half _DebugGI;
|
|
half _DebugLightingComponent;
|
|
half _DebugFinalHSV;
|
|
|
|
CBUFFER_END
|
|
|
|
half4 _ShadowColor;
|
|
|
|
half4 _OutlineColor;
|
|
half _OutlineThickness;
|
|
|
|
|
|
|