Add next event estimation
This commit is contained in:
parent
534a7d7097
commit
7d69122e8c
13 changed files with 317 additions and 21 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue