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; } }