Version: 2019.4
Light Explorer extension
The Progressive Lightmapper

ライトマッピング

Lightmapping is the process of pre-calculating the brightness of surfaces in a Scene, and storing the result in a Texture called a lightmap for later use.

Left: A simple lightmapped scene. Right: The lightmap Texture generated by Unity. Note how both shadow and light information is captured.
Left: A simple lightmapped scene. Right: The lightmap Texture generated by Unity. Note how both shadow and light information is captured.

Lightmaps can include both direct and indirect light. This lighting texture can be used together with surface information like color (albedo) and relief (normals) by the Shader associated with an object’s material.

The data baked into lightmaps cannot change at runtime. Realtime lights can be overlaid and used additively on top of a lightmapped scene, but cannot interactively change the lightmaps themselves.

この手法により、ゲーム中にライトを自在に動かす自由と引き換えに、モバイル端末のような非力なハードウェア上でのパフォーマンス向上を狙うことができます。

Unity provides the following lightmappers for generating lightmaps:

ライトマッパーの設定については、ライトマッピング - はじめに を参照してください。

Light Explorer extension
The Progressive Lightmapper