support light setting/save/load.