added spark function for lighting tests