change texture factory