The standard shaderA program that runs on the GPU. More info
See in Glossary presents you with a list of Material Properties. These Properties vary slightly depending on whether you have chosen to work in the Metallic workflow mode or the Specular workflow mode. Most of the Properties are the same across both modes, and this page covers all the Properties for both modes.
These Properties can be used together to recreate the look of almost any real-world surface.
The first Material Parameter in the Standard Shader is Rendering Mode. This allows you to choose whether the object uses transparency, and if so, which type of blending mode to use.
For more information, refer to Change Rendering Mode in the Standard Shader using a script.
Opaque - Is the default, and suitable for normal solid objects with no transparent areas.
Cutout - Allows you to create a transparent effect that has hard edges between the opaque and transparent areas. In this mode, there are no semi-transparent areas, the texture is either 100% opaque, or invisible. This is useful when using transparency to create the shape of materials such as leaves, or cloth with holes and tatters.
Transparent - Suitable for rendering realistic transparent materials such as clear plastic or glass. In this mode, the material itself will take on transparency values (based on the texture’s alpha channel and the alpha of the tint colour), however reflections and lighting highlights will remain visible at full clarity as is the case with real transparent materials.
Fade - Allows the transparency values to entirely fade an object out, including any specular highlights or reflections it may have. This mode is useful if you want to animate an object fading in or out. It is not suitable for rendering realistic transparent materials such as clear plastic or glass because the reflections and highlights will also be faded out.
The Albedo property controls the base color and transparency of the material. For more information, refer to Albedo.
The Specular Property is only visible when using the Specular setup. For more information, refer to Specular mode: Specular Property.
When working in the Metallic workflow (as opposed to the Specular workflow), the reflectivity and light response of the surface are modified by the Metallic level and the Smoothness level. For more information, refer to Metallic mode: Metallic Property.
Property: | Function: |
---|---|
Smoothness source | Select the texture channel where the smoothness value is stored. |
Specular/Metallic Alpha | Use the Alpha channel of the Specular or Metallic map (depending which of these two modes you are using) as the Smoothness value. Because the smoothness of each point on the surface is a single value, only a single channel of an image texture is required for the data. Unity assumes the smoothness data is in the Alpha Channel of the texture used for the Metallic or Specular texture map . |
Albedo Alpha | Use the Alpha channel of the Albedo map as the Smoothness value. This lets you reduce the total number of textures, or use textures of different resolutions for the Smoothness value and Specular/Metallic map. |
You can toggle highlights and reflections with the settings found in the Forward RenderingA rendering path that renders each object in one or more passes, depending on lights that affect the object. Lights themselves are also treated differently by Forward Rendering, depending on their settings and intensity. More info
See in Glossary Options section of the Material when it is open in the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary.
Property: | Function: |
---|---|
Highlights | Check this box to disable highlights. This is an optional performance optimization for mobile. It removes the calculation of highlights from the Standard Shader. How this affects the appearance mainly depends on the Specular/Metallic value and the Smoothness. |
Reflections | Check this box to disable environment reflections. This is an optional performance optimization for mobile. It removes the calculation of highlights from the Standard Shader. Instead of sampling the environment map, an approximation is used. How this affects the appearance depends on the smoothness. |
Normal maps are a type of Bump MapAn image texture used to represent geometric detail across the surface of a mesh, for example bumps and grooves. Can be represented as a heightmap or a normal map. More info
See in Glossary. They are a special kind of texture that allow you to add surface detail such as bumps, grooves, and scratches to a model which catch the light as if they are represented by real geometry.
For more information, refer to Normal Map (Bump mapping).
Height mapping (also known as parallax mapping) is a similar concept to normal mapping, however this technique is more complex - and therefore also more performance-expensive. For more information, refer to HeightmapA greyscale Texture that stores height data for an object. Each pixel stores the height difference perpendicular to the face that pixel represents.
See in Glossary.
The occlusion map is used to provide information about which areas of the model should receive high or low indirect lighting. For more information, refer to Occlusion Map.
For more information, refer to Emission.
Property | Description |
---|---|
Color | Specifies the color and intensity of the emission. Click the Color box to open the HDRhigh dynamic range See in Glossary Color picker. Here you can alter the color of the illumination and the Intensity of the emission. To specify which areas of the Material emit light, you can assign an emission map to this property. If you do this, Unity uses the full color values of the map for the emission color and brightness. You can also use the HDR color picker to tint the map and change the emission intensity. |
Global Illumination | Specifies how the light that this Material emits affects the contextual lighting of other nearby GameObjects. There are three options: • Realtime: Unity adds the emissive light from this Material to the Realtime Global Illumination calculations for the Scene. This means that this emissive light affects the illumination of nearby GameObjects, including ones that are moving. • Baked: Unity bakes the emissive light from this Material into the static Global Illumination lighting for the Scene. This Material affects the lighting of nearby static GameObjects, but not dynamic GameObjects. However, Light Probes still affect the lighting of dynamic GameObjects. • None: The emissive light from this Material does not affect Realtime lightmaps, Baked lightmaps, or Light Probes in the Scene. It does not illuminate or affect other GameObjects. The Material itself does have the emission color. |
Secondary Maps (or Detail maps) allow you to overlay a second set of textures on top of the main textures listed above. For more information, refer to Secondary Maps (Detail Maps) & Detail Mask.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.