flipGreenChannel
Indicates whether to invert the green channel values of a normal map.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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 TextureImporter.swizzleR, TextureImporter.swizzleG, TextureImporter.swizzleB, TextureImporter.swizzleA settings.