3D Fundamentals Tutorial 15

From Chilipedia
Jump to: navigation, search

Flat shading is cool and all, but chili likes it smooth. So we're gonna learn how to shade our shit so smooth, it be like a motherfuckin baby's bottom. Which is to say, very smooth indeed. And trust me, I know. I've touched a lot of baby bottoms in my day. Does that concern you? Well it motherfucking should. Anyways, we also generate some procedural geometry (sphere) and load a mesh from .obj with vertex normals.


  • Procedural sphere generation (with normals)
  • Gouraud (per vertex) smooth shading
  • Loading meshes with per-vertex normal information using SHITTY FUCKING TINYOBJ FUCK THAT LIBRARY


The tutorial video is on YouTube here.


The GitHub repository for the tutorial code is here.

See also