Mid lighting calculation