client: Add multiple materials support