This paper is devoted to the study of light scattering in inhomogeneous glasses. The spectral behavior of the extinction coefficient of the initial sodium borosilicate glass and two glasses obtained by heat treatment is experimentally studied. It is established that the extinction coefficient of heat-treated glasses in the visible region is determined by the scattering of light. Experimental data on the anomalous spectral dependence of the extinction coefficient of the glass subjected to more prolonged heat treatment are compared with the results of calculations carried out in terms of various scattering models based on literature data on the structure of this glass, which consists of liquation spherical particles in a matrix. It is shown that the ordering effects observed earlier in the relative position of the particles play an important role in the light scattering. It is pointed out that, to theoretically describe the scattering properties of a system of polydisperse particles, it is necessary to know the pairwise correlation function of the particles, which depends on the size of the particles in the pair.