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.


2 Answers 2


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

  • 2
    $\begingroup$ Could you explain how to use the dynamic paint as input to a Cycles shader node? $\endgroup$ Commented Nov 19, 2016 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
    Commented Nov 19, 2016 at 17:29
  • $\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
    Commented Nov 19, 2016 at 17:52

You can use "Point Dencity" texture with "Object Vertices" enter image description here


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .