쿠키는 특정 모양이나 컬러의 그림자를 만들기 위해 광원에 배치하는 마스크로, 광원의 모양과 강도를 변경합니다. 쿠키를 이용하면 런타임 성능에 최소한으로 또는 전혀 영향을 미치지 않고 복잡한 조명 효과를 효율적으로 시뮬레이션할 수 있습니다. 쿠키로 시뮬레이션할 수 있는 효과에는 커스틱, 소프트 섀도우, 광원 모양 등이 있습니다.
Unity의 광원에 쿠키를 적용하려면 텍스처를 Light 컴포넌트의 Cookie 필드에 할당하십시오.
렌더 파이프라인의 쿠키 지원에 대한 자세한 내용은 렌더 파이프라인 기능 비교를 참조하십시오.
Unity 2020.1 이상에서 생성된 프로젝트의 경우 기본적으로 베이크된 쿠키가 프로그레시브 라이트매퍼의 베이크된 광원과 혼합 광원에 대해 활성화됩니다. 2020.1 이전 Unity 버전에서 생성된 프로젝트의 경우 기본적으로 베이크된 쿠키가 프로그레시브 라이트매퍼의 베이크된 광원과 혼합 광원에 대해 비활성화됩니다. 이는 이전 버전과의 호환성을 제공하기 위한 것입니다.
에디터 설정 창의 프로그레시브 라이트매퍼에서 쿠키가 베이크된 광원과 혼합 광원에 대해 활성화되는지 여부를 토글할 수 있습니다.
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.