0
0
forked from blender/blender
blender/intern/cycles/kernel
Sergey Sharybin 702cd504a4 Fix #120119: Area lamp artifacts in Cycles with light trees
This is a regression in 4.1, caused by 36e603c430.

For unbiased MIS weight in light tree, we should use sd->N for
mis_origin_n, since sc->N is not available in NEE.

The change also makes it so we do not sample lights below sd->N even
when bump map correction is disabled. This diverges from the original
idea of giving full control to artists, but ensures the internal math
is happy.

Pull Request: blender/blender#120216
2024-04-09 16:03:37 +02:00
..
bake License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
bvh Clang Format: bump to version 17 2024-01-03 13:38:14 +01:00
camera Cycles: use low-distortion mapping when sampling cone and hemisphere 2023-08-23 17:25:27 +02:00
closure Fix #120119: Area lamp artifacts in Cycles with light trees 2024-04-09 16:03:37 +02:00
device Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
film Fix Cycles ASAN error with boolean kernel arguments 2023-12-12 13:27:36 +01:00
geom Fix #118466: Cycles renders black on Metal + AMD 2024-03-08 16:41:27 +01:00
integrator Fix #120119: Area lamp artifacts in Cycles with light trees 2024-04-09 16:03:37 +02:00
light Fix #119692: Cycles render issue with light tree and light linking 2024-04-04 16:48:46 +02:00
osl Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
sample Clang Format: bump to version 17 2024-01-03 13:38:14 +01:00
svm Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
util Clang Format: bump to version 17 2024-01-03 13:38:14 +01:00
CMakeLists.txt Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
data_arrays.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
data_template.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
tables.h Cleanup: spelling in code 2023-11-27 10:55:39 +11:00
types.h Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00