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

Inherits: Lightmapper < RefCounted < Object

The built-in GPU-based lightmapper for use with 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: Only usable when using the Vulkan backend (Forward+ or Mobile), not OpenGL.