flipGreenChannel
Indicates whether to invert the green channel values of a normal map.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public bool flipGreenChannel { get; set; }
Remarks
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 TextureImporterSettings.swizzleR, TextureImporterSettings.swizzleG, TextureImporterSettings.swizzleB, TextureImporterSettings.swizzleA settings.