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.

LightmapperRD

继承: Lightmapper < RefCounted < Object

内置的基于 GPU 的光照贴图器,与 LightmapGI 一起使用。

描述

LightmapperRD(“RD”代表 RenderingDevice)是基于 GPU 的内置光照贴图器,可与 LightmapGI 一起使用。在大多数专用 GPU 上,它可以比大多数基于 CPU 的光照贴图更快地烘焙光照贴图。LightmapperRD 使用计算着色器来烘焙光照贴图,因此它不需要安装 CUDA 或 OpenCL 库即可使用。

注意:仅在使用 RenderingDevice 后端(Forward+ 或移动渲染器)时可用,使用 Compatibility 时不可用。