John Malkovich is joining the cast of Lech Majewski’s fantasy drama “Valley of the Gods,” Variety has learned exclusively.

Malkovich will star opposite Josh Hartnett as the reclusive trillionaire, Wes Tauros. Bérénice Marlohe (“Skyfall”), Keir Dullea (“2001: A Space Odyssey”), John Rhys-Davies and Charlotte Rampling round out the ensemble cast.

Lech Majewski (“The Mill and the Cross”) is directing with production set to begin May 18 in Poland, Italy and Utah.

Royal Road Entertainment’s Filip Jan Rymsza is producing along with Majewski. Peter Safran and Malgorzata Domin are executive producing. Jan Harlan is co-producing alongside Alyssa Swanzey, Natalia Safran and Royal Road’s Carla Rosen-Vacher.

The story features the richest man on earth, a Navajo legend and a writer (Hartnett), who possesses an unbridled imagination and has the ability to alter reality. It involves three narratives about characters who attempt to escape the drama that follows when supernatural visions clash with reality.

Variety reported that the project was in the works a year ago. Majewski’s “The Mill and the Cross” starred Rutger Hauer, Michael York and Rampling.

Malkovich will be seen next in “Deepwater Horizon” opposite Mark Wahlberg and Kurt Russell. He is represented by Jennifer Rawlings of Omni Artists and attorney Patti Felker of Felker Tomczek Suddleson Ambrason.