The goal: To extend the 2020.2 HDRP template scene with DOTS for game logic.
The reality: One will need to sacrifice parts of the template scene that are incompatible with the current DOTS packages. For example, Hybrid Renderer 0.10 doesn’t support Lightmaps.
Issue #4: Enabling Enter Play Mode Settings makes some things super bright.
(can’t upload any more pictures to this post, see thread)
Issue #3: Need an alternative for lightmaps for indirect lighting.
Ideas
Wait for lightmap support
Use raytracing (SSGI) (and tune the template accordingly)
Fake indirect lighting somehow
Implement lightmap support yourself
Solved:
Issue #2: The shadows on the ECS cube are pitch black. Solution: Delete the template’s lightmaps.
Issue #2
The cube on the left is an ECS (subscene) cube. The one on the right is a GameObject cube.
When I scrub through the Frame Debugger, the surface flickers non-deterministically. For example, at step # 388 the cube was white, at 389 black, and when I scrubbed back to 388 the cube was black instead of white.
AFAIK it’s a known issue that lighting with hybrid renderer is kinda broken right now, both in URP and HDRP. Not to say it isn’t valuable to have the issues clearly documented though. Just don’t expect a fix any time soon - it’s been bad for a while.