tornavis/source/blender/draw/tests
Clément Foucault 7797231c6d EEVEE-Next: Shadow: Add LOD system to directional clipmap shadows
This act in multiple phases:

- A shader scan the whole clipmap after tilemap finalize to gather
where valid tiles from lower LODs are available and write the page
location and LOD offset at invalid tiles location.

- At sampling time we add the LOD offset before the pixel page
modulo operation. This offset is equal to the amount of pages of
the **sampling** LOD needed to have the same modulo result as the
**sampled** LOD.

The whole thing being very tricky, I added a lot of unit testing.

This has no use for now but the system is needed to implement:
- Shadows from Volumetrics at lower cost & memory footprint.
- Fixing soft shadows artifacts.

These will be implemented in separate PRs.

Pull Request: https://projects.blender.org/blender/blender/pulls/120031
2024-03-29 16:22:55 +01:00
..
draw_pass_test.cc Refactor: Remove unnecessary C wrappers for vertex and index buffers 2024-03-24 16:38:30 +01:00
draw_testing.cc Cleanup: Move remaining draw headers to C++ 2024-03-23 14:51:59 +01:00
draw_testing.hh License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
eevee_test.cc EEVEE-Next: Shadow: Add LOD system to directional clipmap shadows 2024-03-29 16:22:55 +01:00