Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
LightmapperRD
繼承: Lightmapper < RefCounted < Object
內建的基於 GPU 的光照貼圖器,與 LightmapGI 一起使用。
說明
LightmapperRD ("RD" stands for RenderingDevice) is the built-in GPU-based lightmapper for use with LightmapGI. On most dedicated GPUs, it can bake lightmaps much faster than most CPU-based lightmappers. LightmapperRD uses compute shaders to bake lightmaps, so it does not require CUDA or OpenCL libraries to be installed to be usable.
Note: This lightmapper requires the GPU to support the RenderingDevice backend (Forward+ and Mobile renderers). When using the Compatibility renderer, baking will use a temporary RenderingDevice. Support for RenderingDevice is not required to render lightmaps that were already baked beforehand.