createPathShape(path, options) accepts path data, not an SVG document. Defaults are viewBox: [0,0,100,100], padding: 0.12, resolution: 512 and fillRule: 'nonzero'. Use fillRule: 'evenodd' for a path with holes.
Canvas masks
lens.update({ shape: null }) restores the default orb.
Filtered shading normals reduce raster spikes, but a finite-resolution mask cannot reproduce arbitrarily thin features. Inspect corners, holes, minification and stretched silhouettes at the sizes you ship. Custom shapes use the same screen-space optical approximation; they are not solid meshes with modeled wall thickness.
The web adapter supports these masks. The preserved Metal host does not yet bind custom fields; see porting.