EEVEE: Add support for Transparent BSDF through Shader To RGB

This PR adds to possibility to get the radiance behind an object using
the Shader To RGB workflow.

The result of this operation depends on the type of material.
- Dithered Material with Raytraced Transmission **off** will sample the nearest probe.
- Dithered Material with Raytraced Transmission **on** will show Dithered Materials
  with transmission **off** or fallback to nearest probe.
- Blended Material will show all Dithered Material materials or fallback to nearest probe.

This covers some workflows that were possible before 4.2 (which
were relying on the refraction BSDF).

This removes the `use_combined_lightprobe_eval` optimization which was defaulting
all Dithered Material to be in the same layer when raytracing was off.

We cannot do that anymore since this transparency feature requires clear separation
between the two material types (Raytraced Transmission on/off).
We could eventually reintroduce it by changing the way the submission is done when
there is no shader to rgb in the scene.

Pull Request: https://projects.blender.org/blender/blender/pulls/149723
This commit is contained in:
Clément Foucault 2025-11-28 17:09:06 +01:00 • committed by Clément Foucault
parent fa2e224625
commit dd12ff0af5
20 changed files with 172 additions and 21 deletions

View file

@ -26,7 +26,8 @@ BLOCKLIST_ALL = [
"camera_depth_of_field_jittered.blend",
"shadow_resolution.blend",
"shadow_min_pool_size.blend",
"shadow_resolution_scale.blend"
"shadow_resolution_scale.blend",
"shader_to_rgb_transparent.blend",
]
# Blocklist for device + build configuration that does not support OSL at all.