dynamically painting on an object @ runtime

Hello People
I am trying to basically make a coloring book, where the user can paint on an object with touch.

I think this would use recasting, but I am not sure how Texture2D.SetPixel works for this v. renderTexture.

Any advice is greatly appreciated



SetPixel method is not defined on RenderTexture class. It’s only defined for Texture2D.

But you can always assign Texture2D as a texture on a shader, or you can do Graphics.Blit and copy Texture2D to RenderTexture.