After addressing 3D space and lighting, I rather rushed to the end of the previous article in order to gain a rendered image. In this piece I’ll backtrack a little, covering threeJS objects and materials in detail, before re-approaching the rendering process.
if statements, the
Math.max function (and it’s opposite,
Math.min) are more effective and efficient.
Today, those properties are mostly standardized; it’s just a matter of learning the terms associated with each.