Njord201/Raytracer

Compute hit color

Closed this issue · 0 comments

The goal of this branch is to compute the exact color of a hit point.

For that, all primitives have to get a computeColor method which take the hitpoint and lightContainer and compute the hitcolor pixel in relation to the primitive material.