I have an entirely indoor scene with a single point light (soft shadows) plus ambient light illuminating it. Within the scene there are some objects which don’t move and are set to static (walls, floor, cupboards) and some objects which move and which are not set to static and which I call dynamic from now on (in particular, the hands the user waves around with his Vive controllers). This is a SteamVR Vive project.
In lighting, both “Precomputed Realtime GI” and “Baked GI” are enabled. Linear color space. I am using a Windows PC, Core i7, GTX980Ti, HTC Vive.
If I set the light to “realtime”, all shadows (static and dynamic) are displayed properly by all objects, static to static, dynamic to dynamic, dynamic to static, and static to dynamic. As expected. Quality of the shadows is bad (jaggy, pixely) if I move away from the light source (this seems to be normal though?).
If I set the light to “baked”, only static shadows (between static objects) are displayed. All dynamic objects are completely ignored. As expected. Shadows look nice.
If I set the light to “mixed”, I see the static-to-static shadows from baking, and I get realtime dynamic-to-dynamic shadows, but there is no effect of dynamic objects on static objects. Not as expected: Dynamic objects should cast shadows on static objects in this mode (right?).
This is the case in both forward and deferred rendering. It doesn’t matter if Baking mode is set to auto or if I do it manually after each change. It also doesn’t matter if I set “General GI Directional Mode” to “Non-Directional”, “Directional”, or “Directional Specular”. The result is also independent of using light probes or not using light probes.
This isn’t listed in the release notes. I looked through the tracker and found three bugs but none seems to be directly about this problem. The closest seems to be this (there isn’t enough information for me to decide if this is the same problem). Then there is this (which is about shadow mixing, though), as well as this (which seems to be about an editor bug and is only talking about deferred mode).
Am I missing something? Is this a known bug? Can you add it as a bug in the tracker? Will this be addressed in 5.4? What is the recommended workaround?
Thanks!