Skip to content

Commit 563157a

Browse files
committed
Add specification proposal for maxcomponent and mincomponent nodes
Signed-off-by: chinmaychahar <chinmay.cc.06@gmail.com>
1 parent cb99ac9 commit 563157a

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

documents/Specification/MaterialX.Proposals.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,25 @@ If adopted, the existing `triplanarprojection` node would be reimplemented as a
290290
|`filtertype`|The type of texture filtering to use |string |linear |closest, linear, cubic|
291291
|`out` |Output: the blended value |Same as `inx` |__zero__ | |
292292

293+
<a id="node-maxcomponent"> </a>
294+
295+
### `maxcomponent`
296+
Output the maximum of all components of the incoming vectorN or colorN stream as a float value.
297+
298+
|Port |Description |Type |Default |
299+
|-----|-------------------------------------|----------------|---------|
300+
|`in` |The input value |vectorN, colorN |__zero__ |
301+
|`out`|Output: maximum component of `in` |float |0.0 |
302+
303+
<a id="node-mincomponent"> </a>
304+
305+
### `mincomponent`
306+
Output the minimum of all components of the incoming vectorN or colorN stream as a float value.
307+
308+
|Port |Description |Type |Default |
309+
|-----|-------------------------------------|----------------|---------|
310+
|`in` |The input value |vectorN, colorN |__zero__ |
311+
|`out`|Output: minimum component of `in` |float |0.0 |
293312

294313

295314
### Adjustment Nodes

0 commit comments

Comments
 (0)