I’ve been working with UE4 now for a few weeks porting over my UDK project. Going pretty good so far but I have a big problem with foliage lighting. I use foliage to paint in bunches of small rocks into the scene. It seems more efficient for draw calls this way since in some cases it can be a lot of little rocks in a small area. So in the UDK it worked fine, lit fine, all was well. But in UE4, they don’t seem to receive or cast any static shadows. Not with a stationary light or even with a static light.
So in the shot here I am using a stationary light, not a static light, and the shadows there are all static shadows from normal static meshes accept the character of course. The rocks are painted in as foliage. I’m not using any cascaded shadows on purpose here to illustrate the point. You can see of course no static shadows either being cast, or received although they receive the dynamic shadow from the character just fine.
I’m wondering if I’m missing something really obvious or if they just can’t do it.
Not really looking for workarounds, I know there are and what they are. Just maybe a straight answer like… yes, this is what you do to make it work, or no, static shadows don’t work on foliage period.