RenderCustomDepth doesn't seem to work.

Hi community,

I am expecting the Render Custom Depth to create an outline affect on my static mesh, however it doesn’t appear to happen. Below is a screenshot of my sword object and and a blueprint that enables/disables the render periodically, but nothing appears to be happening. Is there something I am doing wrong here? Is the behavior I am expecting incorrect?

Note: The object is inside a Post Render Volume!

226292-sword.png

Custom depth doesn’t do anything automatically. You need to make a post process material that gets custom depth as an input to affect the scene. Here’s a tutorial on making an outline effect:

https://forums.unrealengine.com/community/community-content-tools-and-tutorials/7407-tutorial-creating-outline-stroke-effect-around-objects

Ah, figured I was missing something. The tutorial I was using just set that flag and magically there was outlines LOL! Thank you for providing a quick answer and tutorial I will check it out!!!