Nanite + Virtual Shadow Map Issues

Hello

I am trying to achieve nice looking shadows using Nanite and Virtual Shadow Maps. However I am having some issues with shadows being blotchy and badly rendered I understand this is because Nanite is optimizing my meshes rather aggressively. But I was wondering if there is any way to have it not affect the virtual shadow maps?


image

When further away the shadows look good. But when close they become very blotchy.

Of course one other solution would be to use regular Shadow Maps but I am getting very blurry and bad-looking shadows with this approach as well so would prefer it if the virtual shadow maps were usable with some setting.

image

Best Regards!

Hi what UE version are you on because VSM (Virtual Shadow Maps) were only production ready in 5.3 so i would recommend to upgrade to 5.3 or 5.4 i remember having this same bug if you cant or dont want to upgrade is not a ideal solution but just disable nanite and use LOD’s on the affected mesh.

Hey sorry for the late reply. I’m using Unreal engine 5.4.

I do believe it is because I’m trying to use Nanite on an AnimToTexture Static mesh which uses alot of worldPositionOffset in the material which is probably what’s causing the issues.