Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

TextureImporterSettings.flipGreenChannel

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.