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.

Lightmapper

繼承: RefCounted < Object

被繼承: LightmapperRD

由光照貼圖器擴充的抽象類別,用於 LightmapGI

說明

此類應由自訂光照貼圖器類擴充。然後可以將光照貼圖器與 LightmapGI 一起使用,以提供快速烘焙的 3D 全域光照。

Godot 包含一個基於 GPU 的內建光照貼圖器 LightmapperRD,它使用計算著色器,但自訂光照貼圖器可以由 C++ 模組實作。