Add attributes to line basic material and fix vertex colors