Hello!
I am trying to paint vertex values on to a mesh one at a time.
I wrote a shader that allowed for the adjustment of vertex values. It works.
I have a raycast/mousepick that detects a mesh, stores its vertices in the array, and reads/writes the colors for each vertex in another array. It works.
If I click, it should apply a predetermined color to the vertex nearest the click. This is where the problem is. Instead of adjusting one vertex, it makes the change to the entire model/all vertices at once. I just need to know how to change the color value for one vertex, and effect only that vertex.
I'm using Array List Get/Set Vertex Color, and I've tinkered with Operate on Vertices, but I'm unable to get this to work! Thank you for any help.