Multiple Lights Not Working Shadow Map Atlas - Browser / HTML5
- Dominant language
- C++
- Stars
- 3.3k
- Forks
- 353
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 1
Description
Thank you for contributing to Armory!
**Description**
Shadow Map Atlas is not working with multiple lights when targeting HTML5. Under those conditions shadows will break when rendering

**To Reproduce**
Add multiple lights to the scene and some objects, select `Runtime` -> `Browser`, enable `Shadow Map Atlasing` under `Armory Render Path` -> `Shadows`, play.
**Expected behavior**

**System**
Blender: 2.83.10
Armory: latest commit
OS: Ubuntu 20.04.2 LTS
Graphics card: AMD RX 480 (mesa drivers)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue in the HTML5 Browser runtime with multiple lights, scene objects, and Shadow Map Atlasing enabled under Armory Render Path → Shadows. Compare the broken and expected shadow rendering shown in the issue; done means shadows remain correct with multiple lights in the browser target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100