EEVEE-Next: Shadow: Add LOD system to directional clipmap shadows #120031

Merged
Clément Foucault merged 16 commits from fclem/blender:eevee-next-shadow-directional-lod into main 2024-03-29 16:23:06 +01:00

16 Commits

Author SHA1 Message Date
Clément Foucault a2add66a9c Fix tests 2024-03-29 16:21:02 +01:00
Clément Foucault 7c629d67ea Fix compilation on Metal 2024-03-29 16:20:58 +01:00
Clément Foucault 71e7828475 Merge branch 'main' into eevee-next-shadow-directional-lod 2024-03-29 15:34:51 +01:00
Clément Foucault ad540c7591 Fix correct LOD offset, add support for 8th LOD 2024-03-29 14:26:33 +01:00
Clément Foucault 5c957a34fb Add test for LOD offset and implement correctly 2024-03-28 19:17:42 +01:00
Clément Foucault 2841ea7159 Add test for correct LOD level 2024-03-28 17:58:05 +01:00
Clément Foucault e5d6ae2730 Add correct lod counter in amend shader 2024-03-28 17:48:20 +01:00
Clément Foucault da9885581b Simplify page indexing code 2024-03-28 17:42:56 +01:00
Clément Foucault eb98c89f10 Finish implementing functionality 2024-03-28 16:43:52 +01:00
Clément Foucault 25f370c17b Merge branch 'main' into eevee-next-shadow-directional-lod 2024-03-28 12:58:08 +01:00
Clément Foucault 629e8b5f71 WIP 2024-03-28 11:54:57 +01:00
Clément Foucault c5a540786f Implement basic function of the shader. Still not finished 2024-03-27 15:21:15 +01:00
Clément Foucault 992c710425 Merge branch 'main' into eevee-next-shadow-directional-lod
# Conflicts:
#	source/blender/draw/tests/eevee_test.cc
2024-03-27 14:02:59 +01:00
Clément Foucault 38492495aa Add new tilemap amend shader 2024-03-27 11:32:12 +01:00
Clément Foucault 6aba2461d8 Fix compilation of debug shader 2024-03-27 09:54:32 +01:00
Clément Foucault bdd645bb78 Use own ShadowSamplingTile type inside the tilemap_tx
This allow to free some bits inside the packed structure.
These bits will be used to store LOD offsets in the future.
2024-03-26 19:01:14 +01:00