I am creating a custom mesh, setting the colors on the VertexData.
vertexData.colors = [r, g, b, a …]
In the shader I want to access the vertex color as part of the shader.
How can I get the per vertex color in the shader to use as part of the coloring?
Any assistance would be greatly appreciated.
Also what is a good shader reference to lookup functions and features?
Not sure what information you are looking for? I always find the best place is the code itself, but we do have a very extensive documentation page, where you might find what you are looking for.