Engine
Engine copied to clipboard
Bug: Shadowed dynamic lights are forced shadowless if 4 shadowed lights are already on
Describe the bug
To Reproduce
The test maps below make this very easy to reproduce. Each button activates a corresponding ptex/light_rt_spot entity, with a grate texture below to show whether or not it's casting shadows.
Issue Map
maps.zip There are two test maps here. One for regular Ptexes, and another for light_rt_spot entities.
Expected Behavior
The limit for shadowed dynamic lights prior to clustered was 8, so ideally the limit shouldn't be hit so soon? or at least, there should be a console warning when hitting the shadowed light limit, if this limit of 4 is intentional.
Operating System
Win 11
Related issue: https://github.com/StrataSource/Engine/issues/1520
Duplicate of #1478.
Leaving as open for visibility sake