Exhibit #0: Getting Triangles on the screen

What we did here

Three.js turns on hidden surface removal by default, so the z-buffer is being used to discard fragments that should be hidden.

You can see the shaders in your browser by opening up the developer tools. They are sitting right there in the text of the HTML page.