Subsurface shadows not working with directional light?

anonymous_user_c93a180c
Fri, 04 May 2018 03:01:34 +0000
Rendering

I don’t know if I’m using the right terms, but If you look at the pictures below, it should make sense. I want my foliage with subsurface properties to be affected by shadows. For example, when there is light projected at a leaf, from behind it you should see the subsurface color. However, if there is an object between the leaf and the light source, casting the leaf in shadow, you shouldn’t see any subsurface coloring. For a while, I thought that perhaps UE4 just didn’t have that feature, because all of my foliage in shaded areas would still have lit-up backsides. But then I read something about the issue having to do with what type of light you’re using, so I switched on a point light, and voila(!), it worked. But I cannot get it to work with a directional light (what I’m trying to do is pointless without that type of light), and whenever I try to search for a solution, I can’t find any information. Help please? What am I missing?

Here’s what I DO NOT want, as it looks obviously wrong. This is using a directional light:

Here’s what I DO want, but it’s a point light, and I need a directional light to do this:

5 posts - 3 participants