文档

Unity Engine

Unity Engine

defaultLightBaker

Specifies the default light baker to use for lightmap and light probe generation.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static LightBaker defaultLightBaker { get; set; }

Remarks

This property controls which light baking backend Unity uses when generating lightmaps and light probes. You can choose between the Progressive Lightmapper and the Unity Compute Light Baker.
The Progressive Lightmapper is Unity's legacy light baking solution that supports both CPU and GPU backends. The Unity Compute Light Baker is Unity's modern GPU-accelerated solution offering improved performance and quality.
Additional Resources: LightBaker, Lightmapping.