Quick question, I have a simple shader that I’m using, that let’s me see vertex colors on a mesh. However, the mesh will not receive or cast shadows. Is there a simple way to have it cast shadows?
Here’s the source for the very simple shader -
Shader "VertexColors"
{
SubShader
{
Tags { "Queue"="Geometry" }
Cull Back
Lighting On
ColorMaterial AmbientAndDiffuse
ZWrite On
Pass
{
}
}
}