Dogen’s direct Zen teacher in Japan was Master Myozen (明全 - Ming Quan) - a Dharma-name which means ‘Bright Expansion’ (or ‘All-embracing Brightness’) - referring to the state of ‘complete’ Ch’an enlightenment. Myozen was of the ‘Rinzai’ (Linji) lineage of Zen. Within Dogen’s biography entitled ‘Shari Soden-Ki' the following details are recorded:
‘Within a month after Dogen thus began pursuing the Way under Ju-Ching at T’ien-t’ung Mountain, a tragedy occurred. On the twenty-seventh day of that month in the first year of Pao-ch'ing (1225), Myozen died at the Liao-jen Hall. He had fallen ill on the eighteenth day of that month, at the age forty-two. It was in the third year of his stay in Chia. Despite the grave illness of Myoju Ajari, his teacher on Mt Hiei, Myozen had decided to come to China for the sake of the Buddha Dharma, rather than remaining to take care of his ailing teacher for the sake of the teacher-student relationship. Thus, he went to Ching-fu Monastery in Ming-chou to study under Miao yun, and then to Ching-te Monastery on T’ien-t;ung Mountain, studying under Wu-chi Liao-p'ai and Ju-ching successively. According to Shari soden-Ki, Myozen passed away in a perfect posture of meditation sitting. Not only the monks of the Mountain but laymen from the vicinity gathered to mourn his death. During the memorial service, held on the twenty-ninth day, the cremation fire radiated five colours, and three white pearls were found in the ash. In utter awe, the crowd worshipped this strange occurrence. When the bone fragments were picked up, they amounted to over 360 pieces. Throughout the Great Sung, people revered the deceased monk upon hearing of this event. A statue was erected on T’ien-t’ung Mountain in memory of Myozen.’
Takashi James Kodera: Dogen’s Formative Years in China, Routledge, (1980), Page 57