最终效果:
Shader源码:
Shader "Unlit/ManullyShader"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
_TintColor("Tint Color", Color)=(1,1,1,1)
_Transparency("Transparency",Range(0.0,1.0))=0.5
_CutoutThresh("CutoutThresh",Range(0.0,1.0)) = 0.5
_Distance("Distance",float)=1