When using per-vertex shading, how would you retrieve the color of a given vertex (or polygon)?
I would like to use a collision ray to collide into some geometry that has baked-in color. Based on that collision, I would like to know what color the collisionRay is intersecting with.
I have been looking at GeomVetexData, but thats not helping much. There is a setColor(), but no getColor()
Any suggestions or hints?
Thank you