MATERIALS
MATERIALS
Materials: an important part of 3D rendering, tell the computer how to display an object on the screen.
Materials: an important part of 3D rendering, tell the computer how to display an object on the screen.
MeshInstance nodes already have a default material assigned to them.
MeshInstance nodes already have a default material assigned to them.
This allows the meshes to be drawn on the screen, cast shadows, and interact with lighting.
This allows the meshes to be drawn on the screen, cast shadows, and interact with lighting.
In our project create a new folder to store our materials.
In our project create a new folder to store our materials.
Right-Click the folder.
Right-Click the folder.
Select Create New.
Select Create New.
Choose Resource
Choose Resource
Search for StandardMaterial3D
Search for StandardMaterial3D
Save it as TestMaterial
Save it as TestMaterial
In the Inspector for the Material
In the Inspector for the Material
Open the Albedo dropdown
Open the Albedo dropdown
Change the colour.
Change the colour.
You can also change the Roughness and Metallic values
You can also change the Roughness and Metallic values
This will give a more matte and shiny look.
This will give a more matte and shiny look.
Applying a Material
Applying a Material
To apply the material to a mesh, simply click and drag the material onto the mesh
To apply the material to a mesh, simply click and drag the material onto the mesh
TEST YOURSELF
TEST YOURSELF
As a challenge, try to replicate the three materials shown below.
As a challenge, try to replicate the three materials shown below.
The first one is a simple albedo with a high roughness.
The first one is a simple albedo with a high roughness.
The second one uses transparency, and the third one
The second one uses transparency, and the third one
uses a texture value.
uses a texture value.