Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrit committed Mar 27, 2024
1 parent 0ce7730 commit c2700a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SeeSharp/Integrators/Bidir/ClassicBidir.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ protected virtual float LightPathReciprocals(int lastCameraVertexIdx, in BidirPa
sumReciprocals += nextReciprocal;
}
sumReciprocals += nextReciprocal; // Hitting the emitter directly
sumReciprocals += pdfs.PdfNextEvent / pdfs.PdfsLightToCamera[^1];
sumReciprocals += pdfs.PdfNextEvent * nextReciprocal / pdfs.PdfsCameraToLight[^1];
return sumReciprocals;
}
}

0 comments on commit c2700a3

Please sign in to comment.