Texture atlas is completed. Debuged some flipping issues when converting
framebuffer to texture.