렌즈 플레어 는 카메라 렌즈 내에서 광원이 굴절하는 효과를 시뮬레이션합니다. 밝거나 은은한 빛을 표현하거나 씬에 약간의 분위기를 더하는 데 사용됩니다.
렌즈 플레어를 설정하는 가장 쉬운 방법은 광원의 Flare 프로퍼티에 플레어 에셋을 할당하는 것입니다. 이를 위해 광원의 포지션과 방향을 자동으로 추적합니다. 더 정확하게 제어하려는 경우 이 컴포넌트를 사용하십시오.
렌즈 플레어를 수동으로 생성하려면 다음 단계를 따르십시오.
카메라에서 렌즈 플레어를 보려면 플레어 레이어 컴포넌트를 카메라의 게임 오브젝트에 연결하십시오.
씬 뷰 에서 렌즈 플레어 효과를 보려면 씬 뷰 툴바에서 효과 토글을 활성화한 후 드롭다운에서 Flares 를 활성화하십시오.
프로퍼티: | 기능: |
---|---|
Flare | 렌더링할 플레어입니다. 대부분의 렌즈 플레어 모양은 Lens Flare 컴포넌트가 아니라 이 에셋이 제어합니다. 렌즈 플레어의 모양을 커스터마이즈하려면 인스펙터에서 할당된 플레어 에셋을 여십시오. 여기에서 플레어의 프로퍼티를 보고 편집할 수 있습니다. 각 프로퍼티가 제어하는 대상에 대한 자세한 내용은 Flare 문서를 참조하십시오. Unity에는 스탠다드 에셋 패키지에서 사용할 수 있도록 사전 구성된 플레어가 포함되어 있습니다. |
Color | 플레어에 지정할 컬러입니다. 이를 통해 렌즈 플레어를 씬의 분위기에 더욱 잘 맞출 수 있습니다. |
Brightness | 렌즈 플레어가 나타나는 크기 및 밝기입니다. |
Fade Speed | Unity가 렌즈 플레어를 페이드인 또는 페이드아웃하는 속도입니다. |
Ignore Layers | 렌즈 플레어를 볼 수 있는 레이어를 결정하는 마스크입니다. |
Directional | Unity가 플레어를 게임 오브젝트의 양의 z축을 향하도록 만들지 여부를 나타냅니다. 무한히 멀리 있는 것처럼 보이며, 게임 오브젝트의 포지션을 추적하지 않고 z축 방향만 추적합니다. |
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.