Projector 를 통해 절두체와 교차하는 모든 오브젝트에__Material__ 을 투영할 수 있습니다. 투영 효과가 올바르게 작동하려면 머티리얼에 특수한 셰이더 타입을 사용해야 합니다. 제공된Projector/Light 및 Projector/Multiply 셰이더 사용법의 예는 Unity 스탠다드 에셋의 프로젝터 프리팹을 참조하십시오.
프로퍼티: | 기능: |
---|---|
Near Clip Plane | 근접 클립 평면 앞에 있는 오브젝트에 투영하지 않습니다. |
Far Clip Plane | 설정한 거리보다 멀리 있는 오브젝트는 영향을 받지 않습니다. |
Field Of View | 도 단위의 시야각입니다. 프로젝터가 정사영이 아닌 경우에만 사용됩니다. |
Aspect Ratio | 프로젝터의 종횡비입니다. 프로젝터의 높이와 너비의 비율을 조정하는 데 사용합니다. |
Is Ortho Graphic | 활성화하면 프로젝터가 원근 대신 정사영이 됩니다. |
Ortho Graphic Size | 프로젝션의 정사영 크기입니다. 정사영을 켠 경우에만 사용됩니다. |
Material | 오브젝트에 투영될 머티리얼입니다. |
Ignore Layers | 무시할 레이어 중에 있는 오브젝트는 영향을 받지 않습니다. 레이어 무시의 기본 설정은 None이므로 프로젝터 절두체와 교차하는 모든 지오메트리는 영향을 받지 않습니다. |
프로젝터로 다음 작업을 수행할 수 있습니다.
간단한 섀도우 효과를 만들려면 StandardAssets->Blob-Shadow->Blob shadow projector Prefab 을 씬으로 드래그합니다. 다른 블롭 섀도우 텍스처를 사용하도록 머티리얼을 수정할 수 있습니다.
참고: 프로젝터를 만들 때는 항상 프로젝터의 텍스처 머티리얼의 랩 모드를 클램프 로 설정해야 합니다. 그러지 않으면 프로젝터의 텍스처가 반복적으로 표시되어 캐릭터 위에 원하는 섀도우 효과를 구현할 수 없습니다.
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.