In Korean Buddhism, there is a ritual called Saengjeon Yesujae, performed during one's lifetime to accumulate merit and prepare for the afterlife.
During this ceremony, altars are prepared to host the Buddha, the judges of the underworld, and the keepers of the celestial storehouses.