From 7ccc82fc0992fc23aee354d687ce009ae0523bea Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 8 Feb 2021 18:26:27 +0100 Subject: Finish depth of field --- src/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render.rs') 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)); } -- cgit v1.2.3