Graphics Programs Reference
In-Depth Information
14. Now select all these nodes, press Crtl + G , confirm New , and rename the
group as Foam_location . Drag the Burn node on the right to expose
the color output and press Tab to close the group.
Fourth - putting everything together
What is left at this point is just to connect these three groups to build the final shader:
1. Add a Mix Shader node (press Shift + A and go to Shader | Mix Shader ).
Connect its output to the Surface input of the Material Output node.
2. Connect the Shader output of the Ocean_water group to the first Shader
input of the Mix Shader node. Then connect the BSDF output of the
Foam group to the second Shader input.
3. Add two Mix nodes and set the Blend Type of the first one to Multiply
and the Fac value to 0.550 . Set the second node Blend Type to Burn
and the Fac value to 0.200 .
4. Connect the Color output of the Foam_location group to the Color1 in-
put of the Multiply node and the Color output of the Foam group to the
two Color2 inputs of both the Multiply and Burn nodes.
Search WWH ::




Custom Search