Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shader "Vertex Colored Blended"
- {
- Properties
- {
- _Color ("Main Color", Color) = (1,1,1,1)
- }
- SubShader
- {
- Pass
- {
- Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
- Lighting Off
- Cull back
- ZWrite off
- Blend SrcAlpha OneMinusSrcAlpha
- BindChannels
- {
- Bind "vertex", vertex
- Bind "color", color
- }
- ColorMaterial AmbientAndDiffuse
- SetTexture [_]
- {
- constantColor [_Color]
- Combine primary * constant
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement