From 87b7f60fa0e0b492a8a155fc37a851ad3f62b16d Mon Sep 17 00:00:00 2001 From: MitchellHansen Date: Sat, 7 Oct 2017 22:26:38 -0700 Subject: [PATCH] found it, wasn't handling the intersection case --- kernels/ray_caster_kernel.cl | 1 + 1 file changed, 1 insertion(+) diff --git a/kernels/ray_caster_kernel.cl b/kernels/ray_caster_kernel.cl index b05ed49..ad42089 100644 --- a/kernels/ray_caster_kernel.cl +++ b/kernels/ray_caster_kernel.cl @@ -481,6 +481,7 @@ __kernel void raycaster( // SHADOW RAY HIT } else { + color_accumulator /= 5; break; } }