Cine Camera focal length + dynamic shadow

Hi, I want to point out an issue with Sequencer’s Cine Camera that occurs when a camera is in the distance from the moving mesh and dynamic shadows are enabled. Here are two screenshots, one showing how shadows look when the viewer is near the mesh and the other - when the camera is far, but focal length is used to zoom in. As you can see crisp and smooth shadows turn into a jagged mess.
As I understand, Cine Camera focal length change doesn’t physically move the view point to the object, but instead just takes a region of a screen and blows it up, which results in bad shadows as if the object was in the distance.
I believe that for cinematic purposes it would be amazing to actually calculate dynamic shadows according to the actual size of the mesh on the screen, so these errors don’t occur and shadows stay crisp.

You might say that the solution might be just moving the camera closer to the mesh so shadows are calculated properly, but placing it far and increasing focal length actually gives a very nice effect to the whole frame and enables strong dept of field, so it’s not always the best idea to move the camera closer.

Hope you consider it, and cheers.

Hey StMalk,

Can you do me a favor and take a screenshot of your “Cascaded Shadow Maps” settings on your Directional light and your Lighting settings on the Skeletal Mesh?

This does not reproduce in template projects, so I’m trying to track down what may be causing this on your end.

Sure, here you go!

Hey StMalk,

I have tried replicating your setup, and I think I’m getting similar results. I have been talking with one of our rendering guys and he believes it is something to do with your cascaded shadow map settings on the directional light. If that does not help, can you try reproducing it in a template project (probably third person) and sending it to me? You can migrate some assets to the template project if needed.

Hey StMalk,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.