Computer graphics in Game development
Ivan Belyavtsev
6.11.2020
\[L_o(X, \vec{\omega_o}) = L_e(X, \vec{\omega_o}) + \int_S L_i(X, \vec{\omega_o}) f_{X,\vec{n}}(\vec{\omega_i}, \vec{\omega_o}) |\vec{\omega_i} \cdot \vec{n} | d{\omega_i} \] [1]
\[L(\vec{P}) = Ka + \sum_{lights}{[Kd\vec{N} \cdot \vec{L} + Ks(\vec{V} \cdot \vec{R})^{Ns}]}\]
\[\vec{R} = 2(\vec{N} \cdot \vec{L})\vec{N}−\vec{L}\]
[2]