Version: 2022.1
言語: 日本語
public int lightmapPadding ;

説明

Sets the distance (in texels) between separate UV tiles in lightmaps. (Editor only).

The range is 2 to 100. The default value is 2.

This setting can be useful when scaling lightmaps down to support lower-end hardware, which can lead to bilinear filtering issues between neighbouring object's tiles. Adjust this setting to increase the space between tiles, and avoid this issue. Note that adjusting this setting does not affect bilinear filtering within the tile itself.

This setting affects lightmaps generated by the Baked Global Illumination system.

When Unity serializes this LightingSettings object as a Lighting Settings Asset, this property corresponds to the Lightmap Padding property in the Lighting Settings Asset Inspector.

See Also: Lighting Settings Asset.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961