Version: 5.6

LightmapEditorSettings

class in UnityEditor

切换到手册

描述

Various settings for the bake.

The bake can be started via Lightmapping class.

另请参阅:Lightmapping

静态变量

aoExponentDirectAmbient occlusion (AO) for direct lighting.
aoExponentIndirectAmbient occlusion (AO) for indirect lighting.
aoMaxDistanceBeyond this distance a ray is considered to be unoccluded.
enableAmbientOcclusionEnable baked ambient occlusion (AO).
giBakeBackendDetermines which backend to use for baking lightmaps.
giPathTracerFilterDetermines the filtering kernel for the Progressive Path Tracer backend.
giPathTracerSamplingDetermines which sampling strategy to use for baking lightmaps with the path tracing backend.
maxAtlasHeightThe maximum height of an individual lightmap texture.
maxAtlasWidthThe maximum width of an individual lightmap texture.
paddingTexel separation between shapes.
realtimeResolutionLightmap resolution in texels per world unit. Defines the resolution of Realtime GI if enabled. If Baked GI is enabled, this defines the resolution used for indirect lighting. Higher resolution may take a long time to bake.
reflectionCubemapCompression确定 Unity 将如何压缩烘焙反射立方体贴图。
textureCompressionWhether to use texture compression on the generated lightmaps.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961