Sun light and ambient are both taken from Map Properties when they are nonzero there. Otherwise they aren't changed.