added support for per-vertex opacity