How to hide outline post process effect behind objects
I created an outline effect following the instructions in this tutorial:
I had to create the M_highlight material because I couldn't find it in the content examples. I think it is no longer available there. Maybe I messed that up. But I can't find any problem with it.
Anyway, most of the material works fine, I am perfectly happy with the outline. Only thing is, that it is drawn on top of the whole scene. So if I place an object in front of the object with the outline and do not activate its "custom depth pass" the outline of the other object is rendered on top of this. Like in this screenshot:
Here is the material I recreated from the video:
Any idea what i did wrong??? Every help would be much appreciated.
asked Oct 12 '15 at 07:46 AM in Rendering
I think you will find an answer there : https://answers.unrealengine.com/questions/137441/disabling-custom-depth-rendering-on-certain-object.html
answered Nov 03 '15 at 04:30 PM
Hi, you need to subtract ocluded parts from your Stencil / Custmom Depth:
answered Apr 30 '16 at 11:42 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here