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 16 days ago

Important
The Built-In Render Pipeline is deprecated and will be made obsolete in a future release.
It remains supported, including bug fixes and maintenance, through the full Unity 6.7 LTS lifecycle.
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.
Convert material assets to URP or HDRPConvert your Built-In Render Pipeline materials for URP and HDRP compatibility to prevent them from appearing bright pink in Scene view.
Modify material properties at runtimeModify 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.