How to apply materials, shaders and textures to objects in Unity
3D Game Design with Unity
🕑 This lesson will take about 9 minutes
This video tutorial explains how to create materials in Unity so that you can change the colour of 3D objects. The video also explains how to use shaders and image textures in Unity.
Before you watch the video, here is a brief rundown of the differences between materials, shaders and textures:
Materials contain properties and textures. Materials can be directly applied to a 3D object.
Shaders dictate which properties and textures a material can have. Shaders are not directly applied to models but are instead applied to materials.
Textures are also applied to materials. Textures are flat images that can be wrapped around 3D objects. These images often contain repeating patterns such as a brick wall.
The images below show three different materials. The first material has a standard shader applied to it. The second material has a specular shader applied to it for increased shininess. The third material has a diffuse shader and a brick wall texture applied to it.
Standard shader with red colour
Specular shader with red colour
Diffuse shader with image brick texture
Watch the video below to learn how to apply materials, shaders and textures to 3D objects in Unity.
Is YouTube blocked at school? Watch on Google Drive.
Next lesson: Adding terrain, trees and water to a game