Adds Rectangle and introduces materials into 2D rendering.