summaryrefslogtreecommitdiff
path: root/src/gpu/effects
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-02 16:34:31 +0100
committerskal <pascal.massimino@gmail.com>2026-02-02 16:34:31 +0100
commitfcf1cbe0e520137d729152239c2aed68d9952cc5 (patch)
treeb9c3e46362bd68ee90744413cb8b7283da48b3e2 /src/gpu/effects
parent74cab8d6b91168a4681f1c9c19a8e32052d59e7b (diff)
fix(3d): Unify SDF path for all objects and stabilize shadows
- Converted floor in test_3d_render to a large SDF BOX for consistent shading. - Standardized lighting (light_dir = 1,1,1) and normal calculation for all objects. - Fixed calc_shadow bias and skip_idx to reliably prevent self-shadowing. - Improved raymarching robustness in fs_main to find exact SDF hit points.
Diffstat (limited to 'src/gpu/effects')
0 files changed, 0 insertions, 0 deletions