셰이더 디테일 수준(LOD)은 LOD 값이 주어진 수보다 작은 셰이더 또는 서브셰이더만 사용하여 작동합니다.
허용되는 LOD 수준은 기본적으로 한계가 없습니다. 즉, 사용자의 하드웨어에서 지원하는 모든 셰이더를 사용할 수 있습니다. 그러나 경우에 따라 하드웨어에서 지원할 수 있는 셰이더 디테일을 제외하고 싶을 수 있습니다. 예를 들어, 일부 저가형 그래픽 카드는 모든 기능을 지원할 수는 있지만 해당 기능을 사용하면 너무 느려질 수 있습니다. 따라서 이러한 카드에서는 패럴랙스 노멀 매핑을 사용하지 않는 것이 좋습니다.
셰이더 LOD는 Shader.maximumLOD를 사용하여 개별 셰이더마다 설정하거나 Shader.globalMaximumLOD를 사용하여 모든 셰이더에 대해 전역으로 설정할 수 있습니다.
사용자 셰이더에서는 LOD 커맨드를 사용하여 모든 서브셰이더의 LOD 값을 설정해야 합니다.
Unity의 빌트인 셰이더는 LOD가 다음과 같이 설정되어 있습니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.