ComfyUI Node
Minecraft PBR - Pack Metal Masks
Combine per-metal region masks into one metal-id map. Wire the IMAGE output into the labPBR packer's 'metal_mask' input; painted pixels override the F0/metal green channel with that metal's exact id. On overlap, later metals win. Output is an IMAGE (id replicated to RGB) so the discrete F0 ids survive intact.
Minecraft PBR - Pack Metal Masks
- custom
- iron
- gold
- aluminum
- chrome
- copper
- lead
- platinum
- silver
- metal_mask
◄threshold0.50►
CategoryMinecraft PBR
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| threshold | FLOAT | 0.500–1 | Mask value above which a pixel is assigned that metal id. |
| customopt | IMAGE,MASK | Region that is custom (labPBR specular-green id 255). | |
| ironopt | IMAGE,MASK | Region that is iron (labPBR specular-green id 230). | |
| goldopt | IMAGE,MASK | Region that is gold (labPBR specular-green id 231). | |
| aluminumopt | IMAGE,MASK | Region that is aluminum (labPBR specular-green id 232). | |
| chromeopt | IMAGE,MASK | Region that is chrome (labPBR specular-green id 233). | |
| copperopt | IMAGE,MASK | Region that is copper (labPBR specular-green id 234). | |
| leadopt | IMAGE,MASK | Region that is lead (labPBR specular-green id 235). | |
| platinumopt | IMAGE,MASK | Region that is platinum (labPBR specular-green id 236). | |
| silveropt | IMAGE,MASK | Region that is silver (labPBR specular-green id 237). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| metal_mask | IMAGE | — |