Mixer
Layers any number of textures on top of each other, each with its own opacity.
Outputs
| Name | Type | Description |
|---|---|---|
| Texture Output | Texture | The layered result. |
Inputs
| Name | Type | Description |
|---|---|---|
| Inputs | Texture | The textures to layer. Connecting to the list adds an input at the end. |
Parameters
| Name | Type | Description |
|---|---|---|
| Texture Type | Enum | The channels of the output texture.Choices: R (u8), RG (u8), RGBA (u8) |
| Texture Size | Vector 2 Int | The size of the output texture in pixels. |
Inputs
One entry per connected input, numbered in the same order as the inputs.
| Name | Type | Description |
|---|---|---|
| Opacity | Float | How strongly the input shows, from 0 for invisible to 1 for fully visible. |
Mixer stacks any number of textures into one image. It works like layers in an image editor: the first input is the bottom layer, and every next input is drawn on top of it. How much of an input shows depends on its own transparency and on its opacity setting. The output starts fully transparent. With no inputs it stays empty, and any part that no input covers stays transparent.
Removing an input’s connection also removes its opacity setting. An opacity below 0 counts as 0, and one above 1 counts as 1.
Keywords: blend, composite, layer, stack, alpha