The screenplay was adapted from the novel "The Stars at Noon", written by author Denis Johnson and first published in 1986.