Yes, it is possible to have mixed and real-time shadows only for moving objects in Unity's URP. You can achieve this by using the Shadow Distance property to set the maximum distance at which objects will cast shadows. By setting this distance to a low value, you can ensure that only moving objects within that range will cast shadows in real-time, while static objects will have pre-baked shadows.
Additionally, you can use the ShadowCasterGroup component to group objects that require real-time shadows, allowing you to selectively enable or disable real-time shadows on a per-object or per-group basis.
Asked: 2023-06-09 00:11:40 +0000
Seen: 9 times
Last updated: Jun 09 '23