기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


Reducing the size or number of shaders

Approaches for optimizing build times or the performance of your application, by reducing the number of compiled shaders or controlling how much memory shaders use.
읽는 시간 1분최근 업데이트: 한 달 전

Approaches for optimizing build times or the performance of your application, by reducing the number of compiled shaders or controlling how much memory shaders use.

Page

Description

Shader compilationUnderstand how and when Unity compiles and loads shaders.
Compile shaders with the DirectX 12 compilerTo speed up compilation and use the latest shader features on some platforms, use the DXC compiler instead of the FXC compiler.
Reducing shader variantsReduce the number of compiled shaders in your project.
Troubleshooting shader duplication from AssetBundlesReduce the amount of memory and storage space shaders use.
Control how much memory shaders useLimit the size of chunks of shader data, and how many decompressed chunks Unity keeps in memory.