Unity scene baking - LensFlare lens flare (3)

Tip: There are errors in the article, I hope you can point them out!


Preface

Something that is generally ignored, lens flare. In theory, there will be no impact if you don't add lens flare, but sometimes in order to pursue some special requirements, lens flare will be added.
For example, the effect shown below:
Insert image description here

1. What are Lens Flares?

Lens Flares are the effect of simulating refracted light within a camera lens. Its main function is to make sunlight/other light sources more realistic.
Insert image description here
Here is a big guy who makes it on site: link: link
Let’s just use the ready-made ones, they are all giants anyway. Learn on your shoulders.

2. Use Lens Flares component

First download a finished Flare that suits you.
1. Add the Lens Flares component to the light you need to generate a halo.
Insert image description here
2. Drag the finished halo you downloaded to the Lens Flares component < /span>
Insert image description here
See the effect:
Insert image description here

Summarize

Lens flare is not a necessary thing, but we need to be aware of it. Just in case a situation calls for it, know how to use it.

Guess you like

Origin blog.csdn.net/qq_37524903/article/details/134468178