Download

Translucent material with shadow

Hi everyone,

How do I go about properly hiding parts of a mesh. Suppose I have a mesh that consists of two cubes side by side and I want to hide one of the cubes. What I do is assign a different texture to each cube to obtain two material slots in UE4 and then I assign a translucent material to one box. The material’s blend mode is set to translucent, ‘two sided’ is enabled, the material is 100% translucent. The problem is that when this material is applied to the mesh the shadow disappears. This happens even with the blend mode on masked etc…

I’m using dynamic lights on my map. My question, is how do I properly hide parts of a mesh so the shadow remains visible? How do I make a material so it still casts shadows even when translucent?

Thanks in advance. :rolleyes: