Scene, Camera and Renderer

Every program has a scene (a tree of things to draw), a camera and a renderer that walks the tree, compiles the shaders it needs and issues WebGL's draw calls: renderer.render(scene, camera).

Subsections