A sensor device for determining the degree of wetting and/or soiling of a
pane in a motor vehicle is provided. The sensor device detects the coating
of moisture on the outer side of the pane via an optical beam which is
arranged in the area of the pane. The sensor device includes a reflector
positioned in the pane, the reflector directing the beam through the pane
under conditions of total reflection or reflection at the outer side of
the pane and at the reflector. The pane additionally includes a light
filter which absorbs a selected wavelength of sunlight. The attenuation is
reduced via an optically more absorbent layer of the light filter.