1
$\begingroup$

Hello Blender Community,

I have a scene where i want to generate a texture on mesh A by letting it interact with another mesh B. The goal is that i don't have to animate the texture by hand and everything is in real-time so i only have to keyframe Mesh B.

You can imagine it like when you're writing on paper: the part of the pen that touches the paper will turn it into another color.

In my case the Pen would be mesh B and the paper is mesh A.

Currently I can't think of any way to do that within Blender so i was hoping that somebody could recommend me an addon or a phython script.

Kind of like in the picture shown below:

Picture Description

$\endgroup$
  • $\begingroup$ Could you explain a bit more about what is expected for the pen 'special shader'? Is it just a color or something more complicated? $\endgroup$ – lemon Aug 25 at 15:46
  • $\begingroup$ I was hoping that it is a texture or a black/white factor like you can find in blender $\endgroup$ – Dino Binghou Xue Aug 25 at 16:25
  • $\begingroup$ @lemon .. I was thinking.. just Dynamic Paint, but I can't for the life of me get it working in my recent build of 2.8? Is this a known issue? $\endgroup$ – Robin Betts Aug 25 at 17:26
  • $\begingroup$ @RobinBetts, I don't know. Here it really depends on what Dino wants. As it is to generate a texture, that may be a live paint tool. But why not using native paint tools? Maybe Dino will tell us. $\endgroup$ – lemon Aug 25 at 17:34
  • $\begingroup$ OK, got it working ... At first sight, it looks as though Dynamic Paint is made to do what you're asking for.. maybe a variation of the answers here or here. The color information generated and stored either in a UV, or in vertex colors, could be used to mask/influence any other texture in a shader tree.. $\endgroup$ – Robin Betts Aug 25 at 18:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.