Created
May 20, 2015 06:46
-
-
Save hwei/601a7076b03460beb5ca to your computer and use it in GitHub Desktop.
Vertex color shader for Unity3D
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "G42/vertex_color" { | |
SubShader { | |
Tags { "RenderType"="Opaque" } | |
Lighting Off | |
BindChannels { | |
Bind "Color", color | |
} | |
Pass { | |
SetTexture[_] { | |
Combine primary | |
} | |
} | |
} | |
FallBack "Diffuse" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment