I’ve been chipping away at the OpenGL tutorials, today I implemented (and actually understood every aspect of) a rotating cube with a reflection in the floor. It involves the depth buffer, stencil buffer, depth-testing and stencil-testing. I could record a video, convert it to gif and put it here, but I’m lazy so I’ll just post a screenshot instead: