Drug use ( including religious , recreational , and abuse ) was also a theme in many of Dick 's works , such as A Scanner Darkly and The Three Stigmata of Palmer Eldritch .
The Three Stigmata of Palmer Eldritch takes place in the twenty-first century .