Version: Unity 6.1 (6000.1)
Language : English
Strip feature shader variants in URP
Strip fog shader variants in URP

Strip level of detail (LOD) shader variants in URP

In the URP Asset, set LODThe Level Of Detail (LOD) technique is an optimization that reduces the number of triangles that Unity has to render for a GameObject when its distance from the Camera increases. More info
See in Glossary
Cross Fade Dithering Type
to 2x2 Stencil to make Unity use stencil testing instead of alpha testing to fade between different LOD levels. Unity removes the _LOD_FADE_CROSSFADE keyword used in most default URP shaders, which reduces the number of shaderA program that runs on the GPU. More info
See in Glossary
variants by around 50%. However, LOD calculations need slightly more processing time on the GPU.

Unity falls back to alpha testing if you disable the render graph system or enable GPU instancing.

This setting might not work correctly if you enable Stencil in the Overrides section of the Universal Renderer asset.

Additional resources

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