blender/tests/files/render/shader
Clément Foucault 4f2d02fc07 Fix: EEVEE: Broken Spherical Harmonic deringing
The Spherical Harmonic deringing code did not take
into account the case where one or more component
could be null. This would cause the `fac` variable
to become 0 and destroy all directional components.

The fix is to clamp the constant term to a minimum
value (`1e-8` here) so that these null or quazi null
channels result in a deringing factor of 1.

The second issue was that the normalization factor
was computed by using `reduce_max` instead of `length`.
This caused different normalization factors as the
world lighting was rotating, resulting in flickering.

The last issue is just a simple improvement but we
now take into account the lambert convolution
weighting when searching for the maximas. This
allows to keep strong lighting sharper. However,
this can lead to less realistic lighting. So we
bias the weights a bit to avoid too much contrast
and retain a realistic look.

Pull Request: https://projects.blender.org/blender/blender/pulls/149478
2025-11-07 18:33:18 +01:00
..
cycles_renders Cycles: Add and update volume test files 2025-08-13 10:28:50 +02:00
eevee_renders Fix: EEVEE: Broken Spherical Harmonic deringing 2025-11-07 18:33:18 +01:00
storm_hydra_renders Fix: Black noise texture results with MaterialX export 2025-10-27 13:11:04 +01:00
storm_usd_renders Fix: Black noise texture results with MaterialX export 2025-10-27 13:11:04 +01:00
workbench_renders Tests: Add Cycles test for normal map light leaking 2025-06-30 18:24:48 +02:00
ambient_occlusion.blend
ambient_occlusion_only_local.blend
bevel.blend
bevel_mblur.blend
blackbody.blend
camera_data_distance.blend
camera_data_vector.blend
constant_fold.blend
custom_normal_map.blend
diffuse_normal_map.blend
emission.blend
float_math.blend
fresnel_layer_weight.blend
glossy_normal_map.blend
holdout.blend
hsv.blend
invert.blend
mix_color.blend
node_group_color.blend
node_group_float.blend
node_group_vector.blend
normal.blend
normal_mapping_light_leak.blend Tests: Add Cycles test for normal map light leaking 2025-06-30 18:24:48 +02:00
object_info.blend
rgb_curves_input_0.5.blend
rgb_curves_input_1.2.blend
rgb_curves_input_2.0_extrapolate.blend
rgb_curves_input_neg_0.5.blend
rgb_curves_input_neg_1.2.blend
rgb_curves_input_neg_2.0_extrapolate.blend
tex_voronoi.blend
texture_coordinate_camera.blend
texture_coordinate_generated.blend
texture_coordinate_normal.blend
texture_coordinate_object.blend
texture_coordinate_object_with_reference.blend
texture_coordinate_reflection.blend
texture_coordinate_uv.blend
texture_coordinate_window.blend
vector_math.blend
wavelength.blend