Force Dynamic Shadow Using Stationary Directional Light on Mobile?

Hi,

Is there a way to force dynamic shadow (not modulated shadow) using stationary directional light for mobile (ES 3.1 or Metal only, no ES 2 support)?

I can enable movable directional light, but I don’t think I move the light and seems like it has its own problems.
I want the shadow to blend with static shadows like Shader model 5 can offer, so modulated shadow is not an option.

Extra: Is it possible to force movable point light to cast shadow on mobile as well? It doesn’t seem to work on mobile and no modulated shadow can simulate it either.

My device targets are Samsung Galaxy S7 and iPhone 7 or above.

I am using UE4 from source, so if you want to instead point me on where to look in the code to make this happen, please let me know.

Cheers.

Hello, I am now in the same search info about how to combine both shadows but in es2. Only way that i just found is turn to fully dynamic direction light, and play with cascades, and shadow res. But that not what i want, and i think you too. If i found something i update this message.

Hi FastD, yes dynamic directional light is not what I want, as I only need dynamic shadows for my movable objects such as characters.

Looking forward if you found something. I still haven’t got anything yet myself.

Found solution. and that was simple, if mobile preview mode not lie) Just turn on mobile hdr. set directional light to stationary, turn on Dynamic Shadow Stationary Distance and is important turn off inset shadow for movable object. I think this help. And what is shame this not on documentation…

I turned on Dynamic Shadow Distance StationaryLight and turn off the Inset Shadows for Movable Objects on my stationary directional light as you suggested, and it works. This is exactly what I want. Thanks.