Commit a36c1b2
committed
Add CSM (cascaded shadow) atlas and renderer support
Introduce cascaded shadow maps (CSM) support across the renderer: add ARB vertex/fragment shadow programs, GLX-compatible program handling, FBO CSM shadow atlas creation/management, binding and texture helpers, and atlas lifecycle (create/clean/invalidate/mark rendered). Integrate CSM rendering into the backend with caster/receiver passes, view/projection setup per cascade, frustum/culling checks, and a simple cache to skip redundant rebuilds. Hook up CM_BoxTrace in client init, add GLSL/VK shader sources for CSM, and update docs/README buttons and badges. Also add packagefiles for libjpeg-turbo to subprojects.1 parent 56a4f40 commit a36c1b2
39 files changed
Lines changed: 4597 additions & 208 deletions
File tree
- .install
- code
- client
- renderercommon
- renderervk
- shaders
- spirv
- renderer
- docs
- fnquake3
- templates
- subprojects
- packagefiles/libjpeg-turbo
- simd
- arm
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
| 276 | + | |
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3693 | 3693 | | |
3694 | 3694 | | |
3695 | 3695 | | |
| 3696 | + | |
3696 | 3697 | | |
3697 | 3698 | | |
3698 | 3699 | | |
| |||
0 commit comments