Spine-Input-Outline-URP.hlsl 535 B

1234567891011121314151617181920212223242526
  1. #ifndef URP_INPUT_OUTLINE_INCLUDED
  2. #define URP_INPUT_OUTLINE_INCLUDED
  3. #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
  4. ////////////////////////////////////////
  5. // Defines
  6. //
  7. #undef LIGHTMAP_ON
  8. CBUFFER_START(UnityPerMaterial)
  9. float4 _MainTex_ST;
  10. half _Cutoff;
  11. float _OutlineWidth;
  12. float4 _OutlineColor;
  13. float4 _MainTex_TexelSize;
  14. float _ThresholdEnd;
  15. float _OutlineSmoothness;
  16. float _OutlineMipLevel;
  17. int _OutlineReferenceTexWidth;
  18. CBUFFER_END
  19. sampler2D _MainTex;
  20. #endif // URP_INPUT_OUTLINE_INCLUDED