Get the material color from a line trace
I am trying to figure out a way to get the color off of a material from a line trace.
For example: If I have a box and the Material on the box is made up of blue, purple, and yellow squares all on one texture. How do I return the color that the trace hits?
I have done some looking around and haven't been able to find a solution yet. If you have an idea, please let me know.
Follow this question
Once you sign in you will be able to subscribe for any updates here