Much more simple than that.
Each "station"/"light emitter" has a light in a box. There is a metal divider placed in the box that is precisely aligned with what the glideslope should be at that position. Below this metal divider is a red lens. Due to this, if you are above the angle of the metal divider, you see the white light, if you are below it, you see the red light.