Action Image
Pack Texture (Channel Shuffle)
Packs channels from multiple source images into one new RGBA texture.
Node IDPackTextureAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Output File Path outputFilePath | file_picker | Yes | — | The full path to save the packed texture (e.g., "C:/temp/packed.png"). |
Width (0 = auto) width | integer min 0 | No | 0 | Target width. 0 = auto-detect from the first valid input image. |
Height (0 = auto) height | integer min 0 | No | 0 | Target height. 0 = auto-detect from the first valid input image. |
R Source Image sourceRed | file_picker | No | — | Path to the image for the RED channel. |
R Source Channel sourceRedChannel | enum | No | R | Channel to read from the R Source Image. |
R Default Value defaultRed | range min 0 , max 255 | No | 0 | Value (0-255) to use if R Source Image is not provided. |
G Source Image sourceGreen | file_picker | No | — | Path to the image for the GREEN channel. |
G Source Channel sourceGreenChannel | enum | No | G | Channel to read from the G Source Image. |
G Default Value defaultGreen | range min 0 , max 255 | No | 0 | Value (0-255) to use if G Source Image is not provided. |
B Source Image sourceBlue | file_picker | No | — | Path to the image for the BLUE channel. |
B Source Channel sourceBlueChannel | enum | No | B | Channel to read from the B Source Image. |
B Default Value defaultBlue | range min 0 , max 255 | No | 0 | Value (0-255) to use if B Source Image is not provided. |
A Source Image sourceAlpha | file_picker | No | — | Path to the image for the ALPHA channel. |
A Source Channel sourceAlphaChannel | enum | No | A | Channel to read from the A Source Image. |
A Default Value defaultAlpha | range min 0 , max 255 | No | 255 | Value (0-255) to use if A Source Image is not provided. |
Overwrite overwrite | boolean | No | false | If true, overwrites an existing file at the output path. |
Create Directory createDirectory | boolean | No | true | If true, creates the parent directory for the output file if it doesn't exist. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | Triggers the texture packing. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Success output0 | object | outputFilePath | Fires on success and contains the new texture path as data. |