Function: buildChannelPreviewMaterials()
buildChannelPreviewMaterials(
material,channels?):Record<string,MaterialLike>
Builds one unlit THREE.NodeMaterial per channel in channels (plus the
shaded key, which is just the original material) so a "debug view" GUI
control can swap the teacher mesh's material to inspect any single channel
in isolation - active or constant alike - mirroring
NTCNodeMaterial.setDebugView on the neural side, so both are
comparable in the same encoded [0,1] space. channels defaults to the
built-in CHANNELS vocabulary.
Parameters
material
any
channels?
any[] = CHANNELS
Returns
Record<string, MaterialLike>