can output multiple textures, fixed loading bug