Version: 2019.4
Lightmapping using Enlighten (deprecated)
Lightmap Parameters Asset

ライトマッピング - はじめに

シーンの準備とライトマップのベイク

Select Window > Rendering > Lighting Settings from the Unity Editor menu to open the Lighting window. Make sure any Mesh you want to apply a light map to has proper UVs for lightmapping. The easiest way to do this is to open the Mesh import settings and enable the Generate Lightmap UVs setting.

次に、ライトマップの解像度を制御するために、Lightmapping Settings セクションに移動し、Lightmap Resolution の値を調整します。

In order to be included in your lightmap, Renderers must meet the following criteria:

  • Have a Mesh Renderer or Terrain component
  • Be marked as Contribute GI
  • Use a built-in Unity Material, the Standard Shader, or a Shader with a Meta Pass

In the Mesh Renderer component, you can use the Scale In Lightmap parameter to adjust the resolution of your lightmap’s static Mesh or Terrain.

Light Explorer でライトの設定を調整することもできます。

シーンのライトマップを生成するには、以下の手順を行います。

  1. At the bottom of the Scene tab on the Lighting window, click Generate Lighting (or ensure that Auto Generate is ticked).

  2. Unity エディターのステータスバーの右下にプログレスバーが表示されます。

When lightmapping is complete, Unity’s Scene and Game views update automatically and you can view the resulting lightmaps in the Lighting window.

When you manually generate lighting, Unity adds Lighting Data Assets, baked lightmaps and Reflection Probes to the Assets folder.


プログレッシブライトマッパーは 2018.1 で追加 NewIn20181

Lightmapping using Enlighten (deprecated)
Lightmap Parameters Asset