I would also like to know how this is done. RUST and now ARK have a form of drawing boards in the games as well as Duke Nukem Forever.
For me personally, I’m not so much concerned about painting pictures, but being able to “paint” an alpha mask at a hit location from a line trace in real time to reveal a layer of a material, which I believe would actually use the same principles as painting on an object/material in real time. If I am off topic, I am happy to create a new thread, but seems like this is all relevant to the topic anyway.
I think that ultimately, it will be a matter of getting hit location from a line trace (or click location), getting material from the hit actor, converting the hit location to UV coordinates on the material, and somehow altering the pixels on a mask on that material, or in the case of painting colours, adding colour to a blank texture which would blend with the diffuse, specular, normal etc (depending on complexity of paint material).
It’s the “how” part that has me a bit stumped, and I believe it must be done with some coding, not via blueprints like I’m trying to do.
I stumbled across these links which may be of some use:
A while ago I also stumbled across this cool video of real-time per-pixel painting in UDK/UE3 for interest