Fresnel + Translucency, parts clip through body?

Hello, I’m trying to make a ghost version of the below character. But with translucency, his arms and legs are showing through the back… This was easily done in Unity, but I’m having a hard time fixing this in unreal.

It should look like this, where you can’t see his body parts through himself:

I’ve tried this http://www.tomlooman.com/the-many-uses-of-custom-depth-in-unreal-4/ but it doesn’t seem to do anything for me.

Any ideas?

Thanks!

Hi Juice-Tim -

Tom’s Custom Depth Culling technique is how you achieve the above results. You have to set up your Blueprint correctly through with an Opaque Mesh assigned to Custom Depth and not assigned to Main Pass and then your Translucent Mesh directly on top of the other

I have set up an example project for your to see.

Thank You -

Eric Ketchum

[Test Project 4.9.1][2]

1 Like

Wow, thanks for creating an example project Eric! As I was having trouble getting Toms to work, this will be a huge help. <3

Edit: After going through toms post again, it doesn’t mention the sub mesh anywhere, which is where I got stuck. Hopefully this sample project will help anyone else in need.