ドキュメント

Unity Engine

Unity Engine

flipGreenChannel

Indicates whether to invert the green channel values of a normal map.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.