Cast shadows only on actor components.

Hey.
I’m working on Multiplayer FPS game on UE5.1, but I have an issue with shadows.
First person arms don’t cast dynamic shadows, but weapon do. If I uncheck “cast dynamic shadow” for weapons, it will look terrible.

Is it possible to make the weapon cast shadows only on the arms?
I know about separate rendering, but maybe there another option… I hope

1 Like

hey did u find out how to do it?

No. But I found an alternative
Lightning channels.

For arms, weapons and sights I unchecked lightning channel 0 and checked 1.
Weapons and hands cast shadows on each other. But unfortunately I have to make a copy of the map / lighting, make hidden and reassign them to group 1, otherwise there will be no light / shadows from the level on arms.

Also, I found this pretty useful: Unreal Engine 4 Tutorial - Fix Weapon Clipping and Object-specific FOV - YouTube

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.