Move material to g3d tests, update to show opacity.
Merge pull request #421 from xoppa/3dapi

Move materialtest to g3d tests, update it to show opacity.