Remove semi-opaque material hack
Rework alpha-test functionality

This extends and cleans up alpha tested material specification. To
enable alpha testing on a material, the alpha-test directive must be
specified in the material file. The format has changed to "alpha-test
<func> <value>", e.g., "alpha-test lequal 0.5".