init
This commit is contained in:
commit
e0a842f222
796 changed files with 361371 additions and 0 deletions
|
@ -0,0 +1,30 @@
|
|||
Shader "Custom/2dUnlitWithFade" {
|
||||
Properties
|
||||
{
|
||||
_Color ("Color Tint", Color) = (1,1,1,1)
|
||||
_MainTex ("Base (RGB) Alpha (A)", 2D) = "white"
|
||||
}
|
||||
|
||||
Category
|
||||
{
|
||||
Lighting Off
|
||||
ZWrite Off
|
||||
//ZWrite On // uncomment if you have problems like the sprite disappear in some rotations.
|
||||
Cull back
|
||||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
//AlphaTest Greater 0.001 // uncomment if you have problems like the sprites or 3d text have white quads instead of alpha pixels.
|
||||
Tags {Queue=Transparent}
|
||||
|
||||
SubShader
|
||||
{
|
||||
Pass
|
||||
{
|
||||
SetTexture [_MainTex]
|
||||
{
|
||||
ConstantColor [_Color]
|
||||
Combine Texture * constant
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue