Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shader "Custom/Vertex Color Texture Blend"
- {
- Properties
- {
- _TexA ("Diffuse A", 2D) = "white" {}
- _TexB ("Diffuse B", 2D) = "white" {}
- }
- SubShader
- {
- Tags { "RenderType"="Opaque" }
- Pass
- {
- BindChannels
- {
- Bind "Vertex", vertex
- Bind "Normal", Normal
- Bind "texcoord", texcoord
- Bind "Color", color
- }
- SetTexture[_TexA]
- {
- combine texture
- }
- SetTexture[_TexB]
- {
- combine previous lerp(primary) texture
- }
- }
- }
- FallBack "Diffuse"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement