LightBakeMode

    RenderingServer.swift:502
    enum LightBakeMode

    Cases

    • case disabled

      Light is ignored when baking. This is the fastest mode, but the light will be taken into account when baking global illumination. This mode should generally be used for dynamic lights that change quickly, as the effect of global illumination is less noticeable on those lights.

    • case `static`

      Light is taken into account in static baking (VoxelGI, LightmapGI, SDFGI (sdfgiEnabled)). The light can be moved around or modified, but its global illumination will not update in real-time. This is suitable for subtle changes (such as flickering torches), but generally not large changes such as toggling a light on and off.

    • case dynamic

      Light is taken into account in dynamic baking (VoxelGI and SDFGI (sdfgiEnabled) only). The light can be moved around or modified with global illumination updating in real-time. The light’s global illumination appearance will be slightly different compared to .lightBakeStatic. This has a greater performance cost compared to .lightBakeStatic. When using SDFGI, the update speed of dynamic lights is affected by ProjectSettings/rendering/globalIllumination/sdfgi/framesToUpdateLights.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (560) members.

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features