Hello everyone!
Today I started working on a procedural mesh generator that use vertex colors for shading. I set all vertices to Color.green and got it working fine yesterday. However, after I woke up I noticed that my lighting is not behaving the way I expected.
When the mesh is lit up from behind, set color is visible. When lit from the front, it just turns pitch black as if it recieves no shading.
Here are some screenshots:
Shader Graph
Mesh from the front (only generating / rendering the North facing faces for now. Just imagine this will be a nicely generated chunk later)
Mesh from behind
Light source turned around, viewing mesh from the front like in picture 2.
Does anyone know what might be going wrong?
Should I consider this a bug?
Thanks for the help!