Files
bansonic_beta_main/Packages/com.esotericsoftware.spine.urp-shaders-4.3-2019.1/Shaders/Include/Spine-Input-Outline-URP.hlsl
T
2026-02-24 05:36:08 +08:00

29 lines
592 B
HLSL

#ifndef URP_INPUT_OUTLINE_INCLUDED
#define URP_INPUT_OUTLINE_INCLUDED
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
////////////////////////////////////////
// Defines
//
#undef LIGHTMAP_ON
CBUFFER_START(UnityPerMaterial)
float4 _MainTex_ST;
#ifndef NO_CUTOFF_PARAM
half _Cutoff;
#endif
float _OutlineWidth;
float4 _OutlineColor;
float4 _MainTex_TexelSize;
float _ThresholdEnd;
float _OutlineSmoothness;
float _OutlineOpaqueAlpha;
float _OutlineMipLevel;
int _OutlineReferenceTexWidth;
CBUFFER_END
sampler2D _MainTex;
#endif // URP_INPUT_OUTLINE_INCLUDED