Next-event estimation (source code)

= Next-event estimation

Explicit light-source sampling at a surface interaction: connect to a sampled source and use a <shadow ray> to test visibility. It avoids relying solely on a randomly continued path to hit an emitter; this is essential for ordinary continuous direction sampling with ideal point lights.