Shader “Shader Name”
{
Properties
{
_Color ("Main Color", Color) = (1,1,1,0)
_Shininess ("Shininess", Range (0.01, 1)) = 0.7
_MainTex ("Base (RGB)", 2D) = "white"{}
}
SubShader
{
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType" = "Transparent"}
BindChannels
{
Bind "Color", color
Bind "Vertex", vertex
Bind "TexCoord", texcoord
}
Blend SrcAlpha OneMinusSrcAlpha
Pass
{
Material
{
Diffuse [_Color]
}
Cull Off
Lighting On
SetTexture [_MainTex]
{
combine texture * primary
}
}
}
SubShader
{
}
……
}