렌즈 플레어(Lens Flares) 는 카메라 렌즈 내에서 광원이 굴절하는 효과를 시뮬레이션합니다. 이는 정말 밝은 빛을 표현하거나 씬에 약간의 분위기를 더하는 데 사용됩니다.
렌즈 플레어를 설정하는 가장 쉬운 방법은 광원의 Flare 프로퍼티를 할당하는 것입니다. 스탠다드 에셋 패키지에 여러 개의 사전 구성된 플레어가 들어 있습니다.
또는 메뉴 바에서 GameObject->Create Empty 를 클릭해서 빈 GameObject 를 생성한 다음 Component->Effects->Lens Flare 로 가서 Lens Flare Component 를 추가해도 됩니다. 그 이후, 인스펙터 창에서 Flare 를 선택해야 합니다.
Scene View 에서 렌즈 플레어의 효과를 보려면 씬 뷰 툴바에서 Effect 드롭다운 메뉴를 선택한 다음 렌즈 플레어 옵션을 선택해야 합니다.
프로퍼티: | 기능: |
---|---|
Flare | 렌더링할 플레어를 설정합니다. 이 플레어는 렌즈 플레어 외관의 모든 요소를 정의합니다. |
Color | 씬의 분위기에 보다 어울리도록 몇몇 플레어에 색상을 입힐 수 있습니다. |
Brightness | 렌즈 플레어의 크기와 밝기를 설정합니다. |
Fade Speed | 플레어가 얼마나 빠르게 흐려지는지 설정합니다. |
Ignore Layers | 플레어를 숨기지 않는 레이어 마스크를 선택합니다. |
Directional | 이 항목을 설정하면 플레어는 게임 오브젝트의 양의 Z축 방향으로 정렬됩니다. 이는 무한히 뻗어나가는 것처럼 표시되며 오브젝트의 포지션은 무시하고 Z축의 방향만을 추적하게 합니다. |
플레어는 직접 Light 컴포넌트의 프로퍼티로 설정하거나 Lens Flare 컴포넌트로 따로 설정할 수 있습니다. 전자의 경우, 플레어는 광원의 포지션과 방향을 자동으로 따릅니다. 더 정확하게 플레어를 제어하려면 이 컴포넌트를 사용해야 합니다.
플레어를 보이게 하려면 Flare Layer 컴포넌트가 Camera에 부착되어 있어야 합니다. 이는 디폴트 설정이므로 설정을 별도로 변경할 필요는 없습니다.
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.