TA/Unity
Mobile/BackgroundQueueAdditive(SL_Shader)
프리랜서 디자이너
2012. 5. 21. 14:14
- hader "Mobile/BackgroundQueueAdditive"
- {
- Properties
- {
- _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
- }
- }
- }
- }
- }