ノーマルマップ (Normal Map)

Blender の FBX エクスポートは三角分割オプションがないので、必要に応じてモデルに「三角面化」 (Triangulate) モディファイアーを追加し、適用しておく。

参考:

Generating Perfect Normal Maps for Unity (and Other Programs) | Ben Golus

ハードエッジにする

Blender でエクスポートする手順
  1. ハードエッジにするエッジを「シャープ」に設定する。
  2. FBX エクスポーターの設定で「ジオメトリ > スムージング」 (Geometry > Smoothing) を (Edge) に設定して FBX をエクスポートする。
Unity でインポートする手順
  1. インポートした FBX のインスペクターを開く。
  2. 「Model」タブに切り替える。
  3. 「Geometry > Normals」の設定が Import (デフォルト) であることを確認する。
  4. 「Geometry > Smoothness Source」を Prefer Smoothing Groups あるいは From Smoothing Groups に設定する。

ドキュメント:

Model タブ | Unity 2018.4 マニュアル [公式]

参考:

how does FBX exporter mark hard edges? – Blender Stack Exchange

blender to unity problem help!!! – Unity Answers

Same model but different shading quality? – Unreal Engine Forums

エッジを滑らかにする

参考:

Exporting Smoothing information from Blender via FBX | polycount

How to import smooth normals correctly from Blender? Is it possible? – Unity Forum

自動スムーズ (Auto Smooth)

参考:

Importing vs calculating normals – Unity Forum

Importing Normals – Unity Forum

Blender to Unity using rig causes unexpected face-colors – Unity Forum

How to enable auto smooth option for unreal engine ???? – Unreal Engine Forums

No smoothing group information was found when importing obj file in UE4 – Blender Stack Exchange

How to enable auto smooth option for unreal engine? – Blender Stack Exchange

From blender to unreal smoothgroup and shading – Blender Stack Exchange

カスタム分割法線 (Custom Split Normals)

参考:

Is exporting custom normals from Blender even possible? – Unity Forum

Why can’t the Data Transfer Modifier be applied? – Blender Stack Exchange

頂点法線 (Vertex Normal)

参考:

How to export in FBX correctly without losing mesh vertex normals? | Blender Artists Community

T66537 Exporting FBX loos vertex normal out from original imported FBX file as an example | Blender Developer [Official]

T66925 FBX exporter : average vertex normal is apply. Recalculate normals, average (or remove double vertices) changing the direction of the model mesh with custom vertex normal. | Blender Developer [Official]

接線をエクスポートする

Blender でエクスポートする手順
  1. 「ジオメトリ > スムージング」 (Geometry > Smoothing) を 法線のみ (Normals Only) に設定する。
  2. 「ジオメトリ > タンジェント空間」 (Geometry > Tangent Space) を有効にする。
Unity でインポートする手順
  1. インポートした FBX のインスペクターを開く。
  2. 「Model」タブに切り替える。
  3. 「Geometry > Normals」を一時的に Calculate に設定して「Geometry > Smoothing Angle」を 180 に設定する。
  4. 「Geometry > Normals」を Import に戻す。
  5. 「Geometry > Tangents」を Calculate に設定する。

参考:

How to export tangents? (Or rather, import them with Unity?) – Unity Forum

xNormal で接線を計算する

参考:

Unity 3D Tangent Basis Calculator Plugin for xNormal | James O’Hare

Cycles bake tangent basis – Unity Forum

記事をシェアする:
タグ:

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

Protected by reCAPTCHA