766 B
766 B
geometry | output |
---|---|
margin=2cm | pdf_document |
This project implements a raytracer with Blinn-Phong illumination implemented. The primary formula that is used by this implementation is:
I_{\lambda} = k_a O_{d\lambda} +
\sum_{i=1}^{n_\textrm{lights}} \left(
IL_{i\lambda} \left[
k_d O_{d\lambda} \textrm{max} {
% 0, \overrightarrow{N} \middot \vec{L_i}
}
\right]
\right)