Skip to main content

Function: buildPackedColorNodes()

buildPackedColorNodes(activeChannels, material): any[]

Builds the packed RGBA colorNodes (see NTCFormat.js) used to bake training targets for exactly the given (active/trained) channels, in their layout order and raw physical units - each channel's activation (see NTCFormat.js / NTCOutputActivations.js) is what maps the network's own output into this same raw range, so no target-side encoding happens here.

Parameters​

activeChannels​

any[]

material​

any

Returns​

any[]