add an option for connected texture