 Much of the location shooting was done on a gypsum mine near  Albuquerque, New Mexico. The gypsum, which is almost pure white, was  sprayed with a biodegradable red food dye to give the appearance of  a Martian landscape.