I’m Ayana, a Vtuber!
Today I will explain how to edit with the shader editor.
About shader editor
Choose Shader Editor from the Editor Type panel
When you switching the workspace to Shading, it will be changed to the best screen composition for editing materials using nodes.
First, make sure that the object mode is on
This is the [Shader Editor]. It will displayed after you choose [3D view port] of the material nodes for the object.
You can switch material slots from here.
If you want to use a node, make sure that [Use Nodes] is enabled.
If you don’t want to use the node, disable [Use Nodes]. When the node is not used, only four items can be changed: [Base Color], [Metallic], [Specular] and [Roughness].
When building a node, the image of receiving input from the left and outputting from the right. The red node called Material Output is the final output.
Add and connect nodes
This is the default node state. Let’s try to add and connect a node here.
Pressing Shift + A to Add node
Select Texture> Checkered Texture.
A node has been added like this
Connect the Output [Color] of [Checkered Texture] to the input [Base Color] of [Principle BSDF].
The input / output parts here are color-coded into four types, purple, yellow, gray, and green, depending on the type of information to be transmitted.
Purple is a vector, yellow is RGB, gray is a numerical value, and green is a mixture of each information above.
Basically, make sure to connect the output and input of the same color.
Here is the display in the [3D viewport] after editing the node. The checkered texture is reflected in the material of the object.
If you want to insert another node between the connected nodes, just move the node you want to insert between the nodes and it will be inserted automatically.
Node mute switching
Select a node and press M to mute the node.
In the muted node, the received input data is output to the next node without being converted.
As the number of nodes increases, it becomes more difficult to manage. Group nodes for ease of management. Also, the grouped nodes can be used in another file.
Let’s Group these nodes.
Select the nodes you want to group in a rectangle or select multiple nodes while pressing Shift and press Ctrl + G to group them.
Then, the screen display looks like this. This is the expanded state of the group.
Press Tab to close the group. The green nodes called NodeGroup are the grouped nodes.
Select this node and press Tab to re-expand the node and editing within the group. It’s like the same with [Edit Mode] in [3D Viewport].
Append node group from another file
This is a different file from the previous one. Make the group you have created into this file to used.
Select File> Append from the menu. You were able to read external data such as objects from this Append. You can also load node groups here.
To select the file,open NodeTree folder.
Here is the data of the node group created . Click [Append] to execute the append.
To actually add a group, press Shift + A and select the group from [Group], just like when you added a node.
This is the end of the lecture about how to edit with the shader editor.
How is everyone doing?
Did you understand today’s lecture?
See you again for the next lecture!
See you soon! Bye bye!