Implement first-pass of renderer.