Commit 1ba297a
authored
Update 3D lights to avoid stutters and allow more lights on devices supporting them (#2237)
- Lights are now budgeted per light kind (point lights, spot lights, spot lights projecting a texture), according to the devices capabilities.
- Alternating between different kind of lights during the runtime won't make the game stutter.
- The "max lights count" is now a maximum per light kind.1 parent 5cf8549 commit 1ba297a
1 file changed
Lines changed: 308 additions & 64 deletions
0 commit comments