5
$\begingroup$

I am trying to make a texture that changes color based on how close one object's geometry is to another. I've faked an example below.

enter image description here

I intend to use this on objects more complicated than planes, so pre-computing distances isn't reasonable. Ideally I'd like to be able to provide a list of objects that the proximity-shader is affected by. In particular, I don't want an object's proximity to itself to affect shading.

$\endgroup$
5
$\begingroup$

Dynamic Paint is the perfect tool for what you're trying to achieve.Here you find all information on the topic you nead.In case from some reason this tutorial will disappear,I'm talking about this: enter image description here

$\endgroup$
  • 2
    $\begingroup$ Could you explain how to use the dynamic paint as input to a Cycles shader node? $\endgroup$ – Jason Siefken Nov 19 '16 at 17:29
  • $\begingroup$ @Mzidare, please add more detail. If the links disappears the explanation will be gone indeed making the answer incomplete (that is the very reason link-only answers are discouraged) But please do explain what you are doing on the video. $\endgroup$ – user1853 Nov 19 '16 at 17:29
  • $\begingroup$ @cegaton my friend this is far from the "link-only" answer. It has not only the name of the tool, but also graphic representation of it in Blender. From here every, even moderately intelligent person is able to find a tutorial on desired subject concerning Dynamic Paint . $\endgroup$ – Mzidare Nov 19 '16 at 17:52
  • $\begingroup$ @Jason Siefken - it's a subject for a whole tutorial, so I'm not able to cover it in details here. To make long story short, you can save canvas changes as image sequence and use this sequence to influence shaders mixing. $\endgroup$ – Mzidare Nov 19 '16 at 17:52

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.