Outline for glass material

I’m trying to draw an outline on a glass material object, the material I’m using is the same in the startercontent

/Game/StarterContent/Materials/M_Glass

unfortunately I couldn’t find a shader working properly (I tried with edge detection + postprocessing depth passes - link here) and I’m wondering how does the unreal editor do its nice outline since it also works with the glass material

Can anyone shed some light on this?

hi pwalker.
the blendables have changed a bit.
for these types of effects now you need to use the custom stencil pass.
more infos here : outline material with occlusion around actor - Rendering - Unreal Engine Forums
and to get it working, don t forget to enable the function in the project settings/ render .
hope it helps.

hi,do you find a solution?
thanks