The shadow baking rouine ist just a part of my editor.
I made it myself. It is not too complicated, the main work is to
tune that it looks good.

Other parts of the editor are texture painting and hightmanipulation,
load/save and later placing models (like grass) directly into
the level-file.