Shader Nodes: Raycast node

Initial implementation of the Raycast Node #139339.

Pull Request: https://projects.blender.org/blender/blender/pulls/150085
This commit is contained in:
Miguel Pozo 2026-02-04 02:38:03 +01:00 • committed by Clément Foucault
parent 19119231cd
commit f7f6bdac6e
61 changed files with 967 additions and 107 deletions

View file

@ -767,6 +767,7 @@ if((WITH_CYCLES OR WITH_GPU_RENDER_TESTS) AND TEST_SRC_DIR_EXISTS)
node_inlining
pointcloud
principled_bsdf
raycast
shader
shadow
shadow_catcher

View file

@ -84,10 +84,11 @@ BLOCKLIST_OPTIX_OSL_LIMITED = [
# Blocklist for SVM tests that fail when forced to run with OptiX OSL
BLOCKLIST_OPTIX_OSL_ALL = BLOCKLIST_OPTIX_OSL_LIMITED + [
# OptiX OSL does support AO or Bevel
# OptiX OSL does support AO, Bevel or Raycast
'ambient_occlusion.*.blend',
'bake_bevel.blend',
'bevel.blend',
'raycast.*.blend',
'principled_bsdf_bevel_emission_137420.blend',
# Dicing tests use wireframe node which doesn't appear to be supported with OptiX OSL
'dicing_camera.blend',

View file

@ -100,7 +100,7 @@ def main():
parser = create_argparse()
args = parser.parse_args()
blocklist = []
blocklist = ["raycast_hit.blend", "raycast_normal.blend", "raycast_position.blend"]
if args.gpu_backend == "vulkan":
blocklist += BLOCKLIST_VULKAN