Get Custom Depth Between Two Intersecting Meshes (Post Processing)
I need to do a post processing effect in which I render an outline between objects overlapping relative to the camera view. Please see the image attached below for an example of what I mean...
I have the stroke and masking using custom depth working no problem. I assumed I would be able to use the stencil buffer to detect overlapping parts of the image, however now it appears to me that the stencil buffer is masking a single depth pass, rather than (what I assumed) a depth pass per stencil channel...
Any thoughts, advice or leads very appreciated.
asked Nov 15 '18 at 06:54 PM in Blueprint Scripting
Render figure into custom depth. Use separate mesh with outline material that has depth test disabled. Set opacity to 1 only if pixel depth is greater than custom depth.
answered Nov 15 '18 at 08:58 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here