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”代表 RenderingDevice)是基於 GPU 的內建光照貼圖器,可與 LightmapGI 一起使用。在大多數專用 GPU 上,它可以比大多數基於 CPU 的光照貼圖更快地烘焙光照貼圖。LightmapperRD 使用計算著色器來烘焙光照貼圖,因此它不需要安裝 CUDA 或 OpenCL 庫即可使用。
注意:該光照貼圖器需要 GPU 支援 RenderingDevice 後端(Forward+ 和 Mobile 渲染器)。使用相容渲染器時,烘焙過程將使用暫時的 RenderingDevice。渲染預先烘焙好的光照貼圖不需要支援 RenderingDevice。