Minecraft wiki entry for Spawn-proofing, associated text: Transparent blocks
Mobs will also not be able to spawn on top of transparent blocks, such as glass, or partially transparent blocks, such as leaves.
One exception is the scaffolding, which is transparent but allows mobs to spawn. This odd fact allows a very efficient mob farm by ianxofour.