The issue is that as materials get more complex, we're going to run into problems keeping track of all these material properties besides just Ka, Kd, Ks. Like when we consider Ni, No, Roughness, and fresnel coefficient. Then we can reference an array of materials instead of carrying all the values in each of the n triangles.
The issue is that as materials get more complex, we're going to run into problems keeping track of all these material properties besides just
Ka, Kd, Ks
. Like when we considerNi, No, Roughness
, andfresnel
coefficient. Then we can reference an array of materials instead of carrying all the values in each of then
triangles.Could use
objl::Material
for simplicity's sake.