You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// While NEE or other generators are not supposed to pick up Delta lobes by accident, we need the MIS weights to add up to 1 for the non-delta lobes.
120
+
// So we need to weigh the Delta lobes as if the MIS weight is always 1, but other areas regularly.
121
+
// Meaning that eval's pdf should equal quotient's pdf , this way even the diffuse contributions coming from within a specular lobe get a MIS weight near 0 for NEE.
122
+
// This stops a discrepancy in MIS weights and NEE mistakenly trying to add non-delta lobe contributions with a MIS weight > 0 and creating energy from thin air.
120
123
if (neeContrib.pdf > scalar_type(0.0))
121
124
{
125
+
// we'll need an `eval_and_mis_weight` and `quotient_and_mis_weight`
0 commit comments