6
« on: 2022-10-04, 09:20:53 »
Hello there, i thought about 2 new Corona nodes for materials : Multiple inputs / outputs for material nodes
Let me explain, let's take an example : CoronaUVrandomizer
A typical shader will get base color / diffuse map, roughness map, displace map, normalmap, additionnal bump map, reflexion map, all kind of maps...
If you plan to use modifyer nodes like CoronaUVrandomizer (or triplanar, tonemap control, and some others), after setting the diffuse part, you have to copy it for all other maps.
If any change, you have to make this change on each modif. node
Of course, you could connect some controller float to change all in once, but not so user-friendly, not so "Corona-styled friendly".
So here is the MultipleInputs node : a bit like MultiMap one, you could set several inputs, connect into the modif.node, and set a MultipleOutputs node as exit :
Each input # refers to the output #.
So all differents maps are going into the same modifying node, you have to manage only one set of parameters, and all outputs are put into the actual shader.
Outputs my be like the included AdvancedWood outputs slots, you see ?
Intup #1 goes to output #1
Intup #2 goes to output #2
Intup #3 goes to output #3
and so one, all of them modified by one node.
Here are the nodes that could take benefit of that :
CoronaAO : inputs/outputs would be for different meshes
CoronaBitmaps : if we need some settings inside
CoronaBumpConverter for different meshes
CoronaCurvature
CoronaDistance
CoronaNormal especially for "add gamma to input", but not only
CoronaRaySwitch
CoronaRoundEdges
CoronaWire
And for sure :
CoronaTonemapControl
CoronaTriplanar for several meshes, but mostly for same shader
CoronaUvwRandomizer for several meshes, but mostly for same shader
What do you think ?
Please see ayttached of what it could look like.