Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Materials

Resources for using materials to define the appearance of a scene.
Read time 1 minuteLast updated 14 days ago

In Unity, you use materials and shaders together to define the appearance of your scene.

Page

Description

Introduction to materialsUnderstand using materials to describe the appearance of surfaces.
Create and assign a materialCreate a material asset, and assign it to a GameObject.
Upgrade material assets to URP or HDRPUpgrade your Built-In Render Pipeline materials to prevent them from appearing bright pink in Scene view.
Access material properties in a scriptModify values on a material, change colours, and swap textures at runtime.
Material VariantsResources on managing and maintaining large numbers of materials.
Material Validator in the Built-in Render PipelineResources on using the Material Validator in the Built-In Render Pipeline to check and fix values in materials that are too large or small.
Material Inspector window referenceExplore the properties and settings in the Material Inspector window to change how a material looks.