diff options
author | Julian T <julian@jtle.dk> | 2021-02-08 18:26:27 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-02-08 18:27:00 +0100 |
commit | 7ccc82fc0992fc23aee354d687ce009ae0523bea (patch) | |
tree | 635f7ffe386c638ef8d5ca0db81a3da8ef0f7cc0 /src/render.rs | |
parent | dbe5f54957ddc13549a6ce822da95170aa09a0c6 (diff) |
Finish depth of field
Diffstat (limited to 'src/render.rs')
-rw-r--r-- | src/render.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.rs b/src/render.rs index 23b80ae..9a6b905 100644 --- a/src/render.rs +++ b/src/render.rs @@ -31,7 +31,7 @@ impl RenderTask { let p = corner + sampler.get_sample_2d(); // Create a ray - let (r, _) = ctx.cam.generate_ray(&p); + let (r, _) = ctx.cam.generate_ray(&p, sampler); self.tile.add_sample(&p, ctx.trc.trace(sampler, &r)); } |