Version: 2021.1
LanguageEnglish
  • C#

NormalMapEncoding.XYZ

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Three-component normal map encoding.

This is the default normal map encoding on mobile platforms. It is particularly recommended if you are targeting OpenGL ES 2.0.

Compared to NormalMapEncoding.DXT5nm, the normal maps are of lower quality, but are less computationally expensive to decode in shaders.

See Also: PlayerSettings.GetNormalMapEncoding, PlayerSettings.SetNormalMapEncoding