Added dynamic vertex attributes. Still todo vertex attribute mappings.