Skip to content

Instantly share code, notes, and snippets.

@davepape
Last active September 29, 2015 04:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davepape/6b74369986ff6324c47a to your computer and use it in GitHub Desktop.
Save davepape/6b74369986ff6324c47a to your computer and use it in GitHub Desktop.
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