Apparently you have to specify the fog "direction" with the q3map_fogDir keyword. The parameter is a vector that points into the fog, so that the visible side is the side which has the opposite normal. (e.g. if you want to make the top side of a cube the visible side, specify a fog direction vector pointing down.