Version: 2023.1
언어: 한국어

AntiAliasingSamples

enumeration

매뉴얼로 전환

설명

The number of sub-texel positions to use when sampling a lightmap texel.

The number of sub-texel positions to use when sampling a lightmap texel. Values higher than 1 will use supersampling to improve lightmap quality and reduce artifacts related to aliasing.



The default value of 4 should be sufficient to remove the majority of aliasing issues. However, in some cases it may be necessary to increase the number of sub-texel sample positions. This can be particularly useful where "jaggy" edges in direct lighting can be observed. Typically this is more visible when using baked shadows.



Note that memory usage increases proportionally to the number of samples used. Using high values in large Scenes may therefore increase the chance that lightmap bakes do not complete, especially when using large lightmap texture sizes.

See Also: LightmapParameters.antiAliasingSamples.

변수

SSAA1Disables supersampling. This results in a faster but lower-quality bake.
SSAA4Supersamples each texel by a factor of 4. This results in a 4 times larger G-buffer size.
SSAA16Supersamples each texel by a factor of 16. This results in a 16 times larger G-buffer size.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961