mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
Added SwapChannels node and documentation.
This commit is contained in:
parent
5494950ee3
commit
f2d3712743
BIN
addons/material_maker/doc/images/node_swapchannel.png
Normal file
BIN
addons/material_maker/doc/images/node_swapchannel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
@ -1,7 +1,7 @@
|
||||
Decompose node
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
The **Decompose** node decomposes anRGBA input into four greyscale outputs.
|
||||
The **Decompose** node decomposes an RGBA input into four greyscale outputs.
|
||||
|
||||
.. image:: images/node_decompose.png
|
||||
:align: center
|
||||
|
24
addons/material_maker/doc/node_filter_swapchannels.rst
Normal file
24
addons/material_maker/doc/node_filter_swapchannels.rst
Normal file
@ -0,0 +1,24 @@
|
||||
SwapChannels node
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
The **SwapChannels** node can be used to replace each channel (R, G, B and A) of
|
||||
an with 0, 1 or a channel of its input (inverted or not).
|
||||
|
||||
.. image:: images/node_swapchannel.png
|
||||
:align: center
|
||||
|
||||
Inputs
|
||||
++++++
|
||||
|
||||
The **SwapChannels** node has a single RGBA input.
|
||||
|
||||
Outputs
|
||||
+++++++
|
||||
|
||||
The **SwapChannels** node outputs an RGBA image whose channels are defined by its parameters.
|
||||
|
||||
Parameters
|
||||
++++++++++
|
||||
|
||||
The **SwapChannels** node has a parameter for each channel that defines its value (0 or 1)
|
||||
or source (a channel of the input image, inverted or not).
|
@ -13,6 +13,7 @@ The filter nodes accept one or several inputs and generate one or several images
|
||||
node_filter_colorize
|
||||
node_filter_combine
|
||||
node_filter_decompose
|
||||
node_filter_swapchannels
|
||||
node_filter_blend
|
||||
node_filter_blur
|
||||
node_filter_directional_blur
|
||||
|
@ -2251,6 +2251,19 @@
|
||||
"tree_item": "Filter/Decompose",
|
||||
"type": "decompose"
|
||||
},
|
||||
{
|
||||
"collapsed": true,
|
||||
"icon": "filter_swapchannels",
|
||||
"name": "swap_channels",
|
||||
"parameters": {
|
||||
"out_a": 8,
|
||||
"out_b": 6,
|
||||
"out_g": 4,
|
||||
"out_r": 2
|
||||
},
|
||||
"tree_item": "Filter/SwapChannels",
|
||||
"type": "swap_channels"
|
||||
},
|
||||
{
|
||||
"collapsed": true,
|
||||
"icon": "filter_normal_map",
|
||||
|
BIN
addons/material_maker/library/base/filter_swapchannels.png
Normal file
BIN
addons/material_maker/library/base/filter_swapchannels.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 228 B |
Loading…
Reference in New Issue
Block a user