as a part of his interests in pagan religion and gothic fiction, williams had long been studying the middle ages-originated baphomet mythology and related pagan mythologies. he did extensive research into the various historic baphomet and similar cults to provide additional background for the story of "darkest night". the religious, magical and ritualistic elements of the plot were taken from various beliefs of these cults, especially the druid elements, as well as the occult-influenced black magic writings of aleister crowley. according to williams, historical baphomet-related ideas and images are a vital part of the film's story and visuals.