The resulting layer mask is used to replace the background with computer-generated skies and sea.