EEVEE: Material Lighting Nodes

Pull Request: https://projects.blender.org/blender/blender/pulls/161429

---------

Co-authored-by: Clément Foucault <foucault.clem@gmail.com>
Co-authored-by: Clément Foucault <8117+fclem@noreply.localhost>
This commit is contained in:
Miguel Pozo 2026-09-02 13:44:16 +02:00 • committed by Clément Foucault
parent 99b03abec1
commit c3f2d1fb67
73 changed files with 1836 additions and 171 deletions

View file

@ -986,7 +986,16 @@ if((WITH_CYCLES OR WITH_GPU_RENDER_TESTS) AND TEST_SRC_DIR_EXISTS)
list(APPEND workbench_tests grease_pencil)
endif()
set(gpu_render_tests ${render_tests})
# Remove cycles specific tests.
list(FILTER gpu_render_tests EXCLUDE REGEX light_group|shadow_catcher|denoise|guiding|reports)
# Add EEVEE specific tests.
set(eevee_tests ${gpu_render_tests};lighting_nodes)
list(SORT render_tests)
list(SORT gpu_render_tests)
list(SORT eevee_tests)
list(SORT workbench_tests)
# Cycles
@ -1053,9 +1062,6 @@ if((WITH_CYCLES OR WITH_GPU_RENDER_TESTS) AND TEST_SRC_DIR_EXISTS)
endif()
if(WITH_GPU_RENDER_TESTS)
list(APPEND gpu_render_tests ${render_tests})
list(FILTER gpu_render_tests EXCLUDE REGEX light_group|shadow_catcher|denoise|guiding|reports)
function(add_gpu_render_tests name script render_tests)
if(WITH_OPENGL_BACKEND)
foreach(render_test ${render_tests})
@ -1098,7 +1104,7 @@ if((WITH_CYCLES OR WITH_GPU_RENDER_TESTS) AND TEST_SRC_DIR_EXISTS)
endif()
endfunction()
add_gpu_render_tests(eevee "eevee_render_tests.py" "${gpu_render_tests}")
add_gpu_render_tests(eevee "eevee_render_tests.py" "${eevee_tests}")
add_gpu_render_tests(workbench "workbench_render_tests.py" "${workbench_tests}")
if(WITH_GPU_RENDER_TESTS_HEADED)
add_gpu_render_tests(overlay "overlay_render_tests.py" "overlay")

View file

@ -420,6 +420,9 @@ def main():
# Dithered transparency uses platform dependent noise pattern.
report.set_fail_percent(0.22)
report.set_fail_threshold(10.0 / 255.0)
elif test_dir_name.startswith('lighting_node'):
# Shadow noise pattern is system dependent.
report.set_fail_threshold(6.0 / 255.0)
elif test_dir_name.startswith('instancing'):
# Small pointcloud has platform dependent raster pattern
report.set_fail_threshold(8.0 / 255.0)