samuel-emrys / raytracer

A simple raytracer
0 stars 0 forks source link

Remove recursion from rayColor function #8

Closed samuel-emrys closed 2 years ago

samuel-emrys commented 2 years ago

Recursive functions are not easily parallelised - make this an iterative method to better support a transition to using a gpu to hardware accelerate the computations.

Relates to #2