Moved the multi-texture logic down into the dynamic texture atlas.