added cubemap support (multiple faces)