라이트맵 경계 부분 꿰매기(seam stitching)는 베이크된 라이트맵을 사용하여 렌더링된 게임 오브젝트에서 원치 않는 날카로운 가장자리를 부드럽게 처리하는 기법입니다.
심 스티칭은 라이트맵 베이킹을 위해 프로그레시브 라이트매퍼와 함께 사용할 수 있습니다. 심 스티칭은 단일 게임 오브젝트에만 사용할 수 있고, 여러 개의 게임 오브젝트의 경우 매끄럽게 스티칭할 수 없습니다.
라이트매핑은 Unity에서 3D 게임 오브젝트를 플랫 라이트맵에 언래핑하는 작업을 수반합니다. Unity는 서로 가깝지만 서로 분리된 메시 면을 라이트백 공간에서 분리된 면으로 식별합니다. 이런 메시의 가장자리를 “경계 부분”이라고 합니다. 경계 부분은 보이지 않는 것이 이상적이지만, 때로는 광원에 따라 선명한 가장자리가 있는 것처럼 보일 수 있습니다. 그 이유는 GPU가 라이트맵에서 분리된 차트의 텍셀 값을 혼합할 수 없기 때문입니다.
경계 부분 꿰매기는 이러한 문제를 해결하는 기법입니다. 경계 부분 꿰매기를 사용하면 Unity 에디터가 추가 연산을 수행하여 라이트맵을 수정하고 결과적으로 경계 부분의 모양을 개선합니다. 경계 부분 꿰매기가 완벽하지는 않지만 종종 최종 결과를 현저하게 개선합니다. 경계 부분 꿰매기는 베이크하는 동안 수행되는 추가 연산으로 인해 베이크 시간이 더 많이 소요되므로 Unity 에디터에서는 기본적으로 비활성화어 있습니다. 게임 오브젝트의 메시 렌더러에서 꿰매기를(stitching) 활성화할 수 있습니다.
게임 오브젝트에 경계 부분 꿰매기(seam stitching)를 활성화하려면 게임 오브젝트의 Mesh Renderer 컴포넌트로 이동한 후 Lightmap Settings 섹션(프로그레시브 라이트매퍼를 사용할 때에만 표시됨)을 열고 Stitch Seams 를 선택합니다.
2017–09–04 페이지 게시됨
Unity 2017.2에서 경계 부분 꿰매기 추가됨 NewIn20172
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.