Version: 2022.3
LanguageEnglish
  • C#

TextureImporter.flipGreenChannel

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

Switch to Manual
public bool flipGreenChannel;

Description

Indicates whether to invert the green channel values of a normal map.

Inverting the green (Y) channel values of a normal map is useful if the normal map uses a different convention to what Unity expects.

If the normal map conventions require more general channel swizzles or inversions, use the swizzleR, swizzleG, swizzleB, swizzleA settings.