hader "Mobile/BackgroundQueueAdditive"
{
Properties
{
_Color
("Main Color",
Color) =
(.
5,.
5,.
5,
0)
_EnvMap ("EnvMap", 2D) = "black" { TexGen SphereMap }
}
Category
{
Tags { "Queue"="Background" "IgnoreProjector" = "True" "RenderType"="Background"}
//SeparateSpecular On
Lighting Off
Zwrite off
Fog { Mode Off }
//Ztest Always
//Cull off //Will Show back thorugh front
Blend One One
// additive
//Blend One OneMinusSrcColor // soft additive
//Blend SrcAlpha OneMinusSrcAlpha // real alpha blending
SubShader
{
Pass
{
{
combine texture
}
{
constantColor [_Color]
Combine previous * constant
DOUBLE, previous * constant
}
}
}
}
}