조명 데이터 에셋은 Unity 에디터에서 씬에 대해 사전에 계산된 조명 데이터를 저장합니다. 조명 데이터 에셋은 워크플로상의 이유로 프로젝트에 별도의 파일로 존재합니다. 사전에 계산된 조명 데이터를 별도의 파일에 저장하면 미리 계산된 조명 데이터를 변경해도 장면 파일이 변경되지 않습니다. 조명 데이터 에셋은 사용자가 편집할 수 없습니다.
라이팅 창의 Generate Lighting 버튼을 사용하거나 Lightmapping.Bake 또는 Lightmapping.BakeAsync API를 사용하여 조명 사전 계산이 수동으로 호출되면 Unity는 미리 계산된 조명 데이터를 조명 데이터 에셋에 저장합니다.
조명 데이터 에셋은 씬에 조명을 생성할 때 필요한 GI 데이터 및 모든 지원하는 파일을 포함합니다. 에셋은 어떻게 함께 조화를 이루는지 설명하는 렌더러, 실시간 라이트맵, 베이크된 라이트맵, 라이트 프로브, 반사 프로브 및 기타 추가 데이터를 참조합니다. 또한 플레이어에 실시간 전역 조명을 업데이트하기 위해 필요한 모든 인라이튼 데이터를 포함합니다.
예를 들어 Contribute GI라고 표시된 게임 오브젝트에서 프리팹 연결을 중지하여 씬을 변경하면 에셋 데이터는 구버전이 되므로 다시 빌드해야 합니다.
조명 빌드 프로세스 중 생성됐지만 플레이어 빌드 생성에 필요하지 않은 중간 파일은 에셋의 일부가 아니며, 대신 GI캐시에 저장됩니다.
조명 데이터 에셋의 빌드 시간은 다를 수 있습니다. GI캐시가 완전히 채워진 경우, 즉 이전에 이미(현재 상태의 씬을 가지고) 해당 머신상에서 베이킹을 완료한 적이 있는 경우 빌드가 빠르게 진행됩니다. 빈 캐시가 있는 컴퓨터로 씬을 가져오거나 캐시 크기 한계로 인해 필요한 캐시 데이터가 제거된 경우 일단 사전 계산 및 베이크 프로세스를 실행해야 하는 중간 파일로 캐시를 채워야합니다. 이 단계는 시간이 좀 걸릴 수 있습니다.
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.