Function: extractBaseColorNode()
extractBaseColorNode(
materialXMaterial):any
Extracts the base/albedo color TSL node from a MaterialX-loaded
MeshPhysicalNodeMaterial. Works whether the base color is a literal image
texture or a procedural node graph (checkerboard, noise, etc.) since it
doesn't try to walk the graph looking for an <image> node - it simply
hands the whole color expression to bakeColorNodeToTexture.
Parameters
materialXMaterial
any
Returns
any