diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-02 16:34:31 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-02 16:34:31 +0100 |
| commit | fcf1cbe0e520137d729152239c2aed68d9952cc5 (patch) | |
| tree | b9c3e46362bd68ee90744413cb8b7283da48b3e2 /src/tests/test_texture_manager.cc | |
| parent | 74cab8d6b91168a4681f1c9c19a8e32052d59e7b (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/tests/test_texture_manager.cc')
0 files changed, 0 insertions, 0 deletions
