Attention: Here be dragons (unstable version)

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Redot.

LightmapperRD

Inherits: Lightmapper < RefCounted < Object

The built-in GPU-based lightmapper for use with LightmapGI.

Description

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.