(Of course, it works when doing import * as BABYLON from "@babylonjs/core";
There was the thread - Importing NodeMaterial with tree shaking with similar issues, but still I am not able to make it work in any import combinations which I’ve tried.
Could anybody provide the right import statement for Nodematerial?
import { NodeMaterial } from “@babylonjs/core/Materials/Node”; should import them all so it might not be this unfortunately and to know the nodes, it would be all the ones in the material you are trying to parse so kind of hard to really go deep on this front.