add base support of texture atlases