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...
Lightmapper
继承: RefCounted < Object
派生: LightmapperRD
由光照贴图器扩展的抽象类,用于 LightmapGI。
描述
此类应由自定义光照贴图器类扩展。然后可以将光照贴图器与 LightmapGI 一起使用,以提供快速烘焙的 3D 全局光照。
Godot 包含一个基于 GPU 的内置光照贴图器 LightmapperRD,它使用计算着色器,但自定义光照贴图器可以由 C++ 模块实现。