Fix Cycles area light using MIS when the spread is zero

area light with zero spread was introduced in bf18032977. Such paths can
only be sampled with NEE, so MIS should not be used.
This fixes the discrepancy when Direct Light Sampling is set to MIS or NEE.

Pull Request: #118584
This commit is contained in:
Weizhen Huang
2024-02-23 12:40:48 +01:00
parent f7c94754a0
commit 95d11b0d33
2 changed files with 2 additions and 2 deletions