Im trying to paint an object partially from a raycasthit so it looks partially painted like in Splatoon or e.g.
Is there a way to get this working in 3d, without creating a new gameobject everytime? And is there a possibility getting the pixels of a texture in 3d to calculate the painted percentage of the object?
I tried using 2D sprites and get the pixels from a raycasthit2d, but it didnt work out well. Has anyone an idea? Or has anyone an example for this?
I found some examples on grafittis and footsteps but they are either too old or dont fit...