Initial overhaul of rendering to prepare for materials.