Add next event estimation

This commit is contained in:
hal8174 2024-10-20 19:35:02 +02:00
parent 534a7d7097
commit 7d69122e8c
13 changed files with 317 additions and 21 deletions

View file

@ -52,4 +52,13 @@ impl<R: Rng> Scene<R> for BasicScene {
intersection
}
fn sample_light(
&self,
_w_in: Dir3,
_intersection: &Intersection<'_, R>,
_rng: &mut R,
) -> Option<ray_tracing_core::scene::LightSample<'_, R>> {
None
}
}