novalain / gi-ray

A Monte-Carlo ray tracer from scratch in C++
5 stars 1 forks source link

Refine ray casting through pixels #37

Closed Carlbaum closed 7 years ago

Carlbaum commented 8 years ago

have a variable int refine_level refine_level >= 0; Use it as amount_of_rays_shot_through_each_pixel = 2^refine_level;