Projector 를 사용하면 머티리얼 을 해당 절두체를 가로지르는 모든 오브젝트에 투사할 수 있습니다. 머티리얼은 Unity 스탠다드 에셋에서 제공되는 Projector/Light 또는 Projector/Multiply 셰이더를 사용해야 합니다.
프로젝터를 사용해 다음을 만들 수 있습니다.
Projector 컴포넌트는 빌트인 렌더 파이프라인과만 호환되고, 대체 솔루션의 이용 가능 여부는 사용하는 렌더 파이프라인에 따라 다릅니다.
렌더 파이프라인 | 포스트 프로세싱 지원 |
---|---|
빌트인 렌더 파이프라인 | 빌트인 렌더 파이프라인은 Projector 컴포넌트와 호환됩니다. |
유니버설 렌더 파이프라인(URP) | URP는 Projector 컴포넌트와 호환되지 않습니다. 현재 URP에는 대체 솔루션이 포함되어 있지 않습니다. |
고해상도 렌더 파이프라인(HDRP) | HDRP는 Projector 컴포넌트와 호환되지 않습니다. 하지만 HDRP에는 머티리얼을 씬에 투사하는 데 사용할 수 있는 Decal Projector 컴포넌트가 포함되어 있습니다. |
스탠다드 에셋에는 Projector 컴포넌트의 사용법을 보여주는 예제 프리팹이 들어 있습니다.
프리팹을 사용하려면 다음 절차를 따르십시오.
프로젝트에서 프리팹을 있는 그대로 사용하거나, 수정하거나, 설정 방식을 확인하기 위해 검사할 수 있습니다.
프로퍼티: | 기능: |
---|---|
Near Clip Plane | 근접 클립 평면 앞에 있는 오브젝트에 투영하지 않습니다. |
Far Clip Plane | 설정한 거리보다 멀리 있는 오브젝트에는 투사되지 않습니다. |
Field Of View | 도 단위의 시야각입니다. 프로젝터가 직교가 아닌 경우에만 사용됩니다. |
Aspect Ratio | 프로젝터의 높이와 너비를 조정할 수 있습니다. |
Orthographic | 활성화하면 프로젝터가 원근 대신 직교로 바뀝니다. |
Orthographic Size | 프로젝션의 직교 크기입니다. 직교를 활성화한 경우에만 사용됩니다. |
Material | 투사될 머티리얼입니다. |
Ignore Layers | 여기에서 지정하는 레이어의 오브젝트는 투사되지 않습니다. 기본값은 None입니다. |
Projector/Light 및 Projector/Multiply 셰이더와 함께 사용하도록 머티리얼을 설정하는 경우 다음 사항에 주의하십시오.
쿠키 텍스처:
폴오프 텍스처(존재하는 경우):
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.