A test room of twelve glass panes
To judge each effect on the glass alone, I built a testing room: twelve panes in four rows of three, on a dark gradient, with a lamp I can move. Every pane is built differently on purpose, so a result can be matched to a setting.
Every effect on this site was first judged on a photograph, and a photograph hides things: a faint scratch could be the scratch layer or the picture behind it. So I made a space with only glass in it. It is a development-only page, and nothing is in the panes unless I put it there.
Each of the twelve panes is built differently
Frosted float at its defaults. A 40 px pane with a 40 px bevel (the angled edge of the glass), and a thin 8 px one with a 6 px bevel. Smudge only, scratch only, and both at full. Optical crown, dense flint, museum glass and opal, each with its own thickness, bevel or wear. One with a 140 px gap to what is behind it, and one with square corners and an 80 px bevel.
The same type in every pane
Then the same twelve panes with type on them, to see the shadow a letter throws through glass.
Because the type is always the same, that tests the glass more than the shadow. The next scene varies it: a large 'Aa', small print, a serif in italic, monospace, a bold uppercase word, a thin weight, an ampersand, hairline rules, and shapes (a circle, a triangle, a star, a pill).
With photographs behind, the light goes through each pane onto the picture
Last, the thing the site actually does: a row of photographs behind the panes, with the panes sitting over the joins between pictures. Here the lamp's light goes through each pane onto the picture behind it, and the scratches and smudges show against whatever is behind them.
