The maximum height fog is applied. If the camera is above this height fog will be disabled.
Online Documentation