I’ve already got an outliner post process material, but it works on depth difference: for example, it wont render the outlinee between the carpet and the floor. Any ideas? Or, can I directly get this material?
If you would link me a screen shot of your post process and the material that is associated with it then I can take a closer look at how you are handling the outline.
The outline material from this post tutorial is designed to draw the edges of geometry at certain angles.
Calculating the space between objects is not how this material is intended to work.
What you can do is take the underlying object, and line it up with the bottom of the object on top. Or the other way around. So that you see the edge of the object on top and fake it.
Ok, thank you! But the ‘draw edges of geometry at certain angles’ sounds much more interesting for my purposes. Sadly, I can’t seem to find anything. Any clue on how to achieve it?
Within the outline material all of the lines are being calculated via that material. It is a rather complex and in depth way of calculating how it’s drawn.
The mask with R and G calculate respectively to X and Y.
You will have to delve through that to tweak any of the properties that are affecting it’s calculations.
That tutorial that mago mentioned provides an outline material for you. It also explains how to implement it. Here is a link to someone who has set this up in a much more in depth way.