summaryrefslogtreecommitdiff
path: root/src/3d/visual_debug.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-02 14:00:16 +0100
committerskal <pascal.massimino@gmail.com>2026-02-02 14:00:16 +0100
commita5409a168d08552c0fc0ad2cff8a9f32199272a1 (patch)
tree86a6d8890c688c4c6ea6cc3f274edc784e85876a /src/3d/visual_debug.cc
parent844f5d32f37877bf65e72bcfb994d39b713a7317 (diff)
feat(3d): Implement unified shadow system with non-uniform scale support
- Part 1: Unified shadow calculation in fragment shader for both SDF and rasterized objects. - Part 2: Added 'model_inverse_transpose' to ObjectData to correctly transform normals for non-uniformly scaled objects. - Part 3: Brightened the floor in 'test_3d_render' to make shadows visible. - Verified correct lighting and shadows on the non-uniformly scaled floor.
Diffstat (limited to 'src/3d/visual_debug.cc')
0 files changed, 0 insertions, 0 deletions