blender/scripts/startup
Clément Foucault 303f91a09c EEVEE-Next: Add slab thickness and thickness from shadow options
Implement the design discussed in #120384.

This adds two parameters. One for changing the approximation
method, and another to use the thickness from shadow map.

We pack the former in the gbuffer by dividing the 16bits
used for thickness by two and use one bit to store the
method.

The thickness from shadow map is now decoupled from the
light evaluation shader. This makes it more performant and
compatible with ray-tracing. This commit also uses the
same biases as shadow mapping to avoid aliasing artifacts
(fix #119339).

This refactors the light evaluation quite a bit to
remove unused bits bits and make the whole transmission
light evaluation without too much complexity.

Pull Request: https://projects.blender.org/blender/blender/pulls/121171
2024-04-30 20:32:46 +02:00
..
bl_app_templates_system Refactor: scripts under scripts/startup/ to use str.format 2024-04-27 16:02:36 +10:00
bl_operators Geometry Nodes: unify menu switch with other nodes with dynamic sockets 2024-04-30 10:19:32 +02:00
bl_ui EEVEE-Next: Add slab thickness and thickness from shadow options 2024-04-30 20:32:46 +02:00
keyingsets_builtins.py Cleanup: replace {!s} with {:s} when used with strings 2024-04-27 16:02:37 +10:00
nodeitems_builtins.py Cleanup: reduce right-shift in startup scripts 2024-04-30 12:46:05 +10:00