now uses a texture atlas