Add outline to procedural mesh

I have followed this post, https://forums.unrealengine.com/show...ocess-Material, to add a edge to a procedural mesh. But I can’t get the same result.

I’m using Unreal Engine 4.11.2. I have downloaded and followed those instructions. I have set ‘custom depth = true’ in my procedural mesh, set ‘custom depth = true’ but I got these errors:

Error [SM5] Missing Material Function
Error [SM5] (Node If) If input B must be of type float.
Error [SM5] (Node SceneTexture) SceneColor lookups are only available when MaterialDomain = Surface. PostProcessMaterials should use the SceneTexture PostProcessInput0.

And when I open the project I get this error also:

Error /Game/Materials/MI_SobelEdge : Can’t find file for asset. /Game/Materials/SobelEdge/M_SobelEdge
Info Failed to load /Game/Materials/SobelEdge/M_SobelEdge.M_SobelEdge Referenced by MI_SobelEdge

I have solved all these errors changing SceneTexture:SceneColor with SceneTexture:PostProcessInput0. But, without any error, I still don’t see the sobel edge. Any idea? This is very frustrating.

I have continued searching and I have found this article, http://www.tomlooman.com/multi-color...real-engine-4/, downloaded and followed its instruction and it works! I have done it on the same level. The only thing I’ve done is to change Blendable on PostProduction Volume.

Why I can’t get sobel edge example working?

To create the procedural mesh I have used the code in this article: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

My goal is to draw a procedural mesh. It has to be transparent but I want to show its edge. In other words, I want to draw its perimeter.

By the way. How can I create a transparent procedural mesh?