shadow light exit condition