Creating a basic material with Standard Shader (Specular setup)
In this recipe, we will learn how to create a basic Material using the new Standard Shader (Specular Setup), an Albedo
map, and a Specular/Smoothness
map. The Material will feature both metallic and non-metallic parts, with various smoothness levels.
Getting ready
Two files have been prepared to support this recipe: a 3D model (in FBX format) of a battery, and an UVW template texture (in PNG format) to guide us when creating the diffuse texture map. 3D models and UVW templates can be made with 3D modeling software, such as 3DS MAX, Maya, or Blender. All necessary files are available in the 05_01
folder.
How to do it...
To create a basic material, follow these steps:
- Create a new Unity 3D project and import the
battery.fbx
anduvw_template.png
files to your project. - Place the battery model in the scene by dragging it from the
Assets
folder, in the Project panel, to the Hierarchy panel. Select it on the Hierarchy panel and make sure...