Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
minimal Unity shader, to use vertex colors without lighting or texture
// taken from http://answers.unity3d.com/questions/391561/create-a-mesh-and-color-cubes.html
Shader "Custom/Vertex Colored"
{
Properties
{
}
SubShader
{
Pass
{
ColorMaterial AmbientAndDiffuse
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.