what are these lines for ?

realised all the halogen traffic lights have these line things across the top halves. very curious as to what the purpose is, to diffuse the light or something ?

realised all the halogen traffic lights have these line things across the top halves. very curious as to what the purpose is, to diffuse the light or something ?