Version: 2021.1
言語: 日本語
プログレッシブライトマッパー
Enlighten を使用したライトマップ (非推奨)

プログレッシブ GPU ライトマッパー (プレビュー版)

ノート: これはプレビュー機能であり、変更されることもあります。この機能を使用するシーンは、将来のリリースで更新が必要になる場合があります。この機能がプレビュー版である間は、本格的な制作に使用しないでください。

The Progressive GPU Lightmapper is a backend for the Progressive Lightmapper which uses your computer’s GPU and Dedicated Video Ram (VRAM) to generate baked lightmaps and Light Probes.

ハードウェアとソフトウェアの要件

プログレッシブ GPU ライトマッパーを使用するには、コンピューターが以下の最低要件を満たす必要があります。

  • OpenCL 1.2 をサポートする少なくとも 1 つの GPU
  • At least 4GB of VRAM dedicated to that GPU
  • SSE4.1 命令をサポートする CPU

If the Scene you are baking requires more VRAM than is available on the designated GPU, bake times can significantly increase. See Performance elsewhere on this page for information to help you reduce the time it takes to bake your Scene.

Performance

The specifications of the GPU you use to bake and the amount of VRAM dedicated to that GPU both influence your experience of the lightmapper’s performance.

GPU リソースを競合する他のアプリケーションも、ベイクの パフォーマンスに影響を与えます。ハードウェアベンダーによっては、Unity で使用できる VRAM の量が減ると、ベイクが遅くなったり、失敗の原因になったりすることがあります。また、GPU が最小メモリ要件を満たせない場合は、ライトマッパーが CPU にフォールバックすることもあります。この機能を使用している間に他のアプリケーションを閉じておくと、安定性とパフォーマンスが向上します。

ベイク速度を最適化する方法

ベイク時間を短縮し、ベイクが指定された GPU で利用可能な VRAM を超えてしまう事態を回避する方法がいくつかあります。

  • Close other GPU-accelerated applications. GPU-accelerated 2D image editing and 3D modelling software uses VRAM. Turn off accelerated graphics functionality or quit these applications.

  • Switch to a CPU-based denoiser. GPU-based denoisers also use VRAM capacity. Switch to a CPU-based option, like Intel Open Image, which uses system RAM instead.

  • Use Light Probes for smaller GameObjects. GameObjects such as debris or small props use up space in lightmaps but might not contribute significantly to the look of a scene. To optimize bake speed, disable Contribute Global Illumination for these GameObjects’ Mesh Renderers and light them with Light Probes instead.

  • Designate separate GPUs for rendering and baking. If your computer has more than one GPU, you can designate one for rendering and one for baking. See Configure GPU selection elsewhere on this page.

  • Use a lower number of Anti-aliasing samples. The default value for this setting in the Lightmap Parameters Asset is 8. When you increase it, Unity uses more VRAM. When you are using a lightmap size of 4096 or above, this can quickly exceed the memory of many consumer GPUs.

Configure GPU selection

If you have at least two GPUs, you can specify one GPU for rendering the Scene and another for baking lighting. This might be desirable in cases where there is insufficient VRAM available for the default GPU to both render your scene and bake it using the Progressive GPU Lightmapper.
To change which GPU Unity uses for baking:
1. Open the Lighting window (menu: Window > Rendering > Lighting).
2. Navigate to the Workflow Settings section.
3. Use the GPU Baking Device drop-down menu to select a GPU.

プログレッシブライトマッパー
Enlighten を使用したライトマップ (非推奨)
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961