Lens flare
A Lens Flare is an over-illumination effect seen through an optical lens.
Usually encountered in the world of photography, it occurs when the image framed is excessively illuminated and when a non adequate lens is used. Several types of lens flare are encountered: ring, streaks, circles, …
They are located along the straight line from the light source to the camera lens used. Sometimes the lens-flare effect obtained takes the shape of blades used as the lens diaphragm (see drawing below).
Diagram of a camera with a 6-blade diaphragm Examples of the resulting Lens Flare effect (hexagonal effects) Photo with a true Lens Flare effect
The larger the lens, the more the Lens Flares will be visible and the size is proportional to this lens (when using the zoom, for example). We will now take a closer look at the various options proposed for this effect in order to allow you to obtain results similar to those illustrated in the image above.
When you choose the Lens-Flare effect in the Rendering effects menu, the first parameter to be entered is the Position of the light source and the lens. The first four numeric fields are used to adjust these positions.
The Lens radius is measured in pixels and is used as a reference for the size of future light interference effects you wish to create (ring, streaks, circles...). The Luminosity parameter controls the luminosity of all light interference visible on the screen.
The position of the light source, lens and lens radius may also be adjusted with the HUD
The Lens Flare popup menu creates various types of lens flare effects: they may be of the Generic, Streaks or Image type. It is also possible to rename, duplicate or delete these effects at your convenience.
Once a type of lens flare has been created, its name appears in the Lens Flare popup menu.
In the header of this menu you will find the name of the lens flare the parameters of which are visible on the screen.
Generic lens flares
Here are the various Lens Flare parameters of the generic type. You may:
-
Change the Size of the Lens Flare: this value is a percentage of the lens size (the size that you have implicitly chosen when setting the lens radius).
-
Change the Offset of the Lens Flare : in other words, modify the position of the lens flare in relation to the center of the lens and light source. An offset of 0 places your Lens Flare at the same level as the light source. An offset of 1 places the effect at the same level as the lens center. An offset of 0.5 places your Lens Flare in the middle of the two aforementioned points. It is also possible to use a negative offset or an offset greater than 1.
-
Choose single-color or gradient color artifacts (as shown below).
-
Modify the profile of your artifact using the profile curve. This effect is constructed in the same way as we have already seen in lesson 2. Correctly setting the profile parameters is essential if exceptional results are to be obtained (see examples below).
The Blade mode indicated above enables adjustment of all Lens Flares of the generic type according to the diaphragm blades of your virtual camera. It is very important to set its parameters correctly if realistic results are to be obtained.
You may choose a Blade mode of the Circle type (images above) or a user defined Blade mode.
- You may choose the Blade count for your virtual camera lens (see examples below, based on the various profiles described above).
From left to right: The lens diaphragm of your camera is circular, with three blades, five blades and seven blades.
- You may modify the Form factor: With a factor of 0, the points are linked to form a circle. With a factor of 1, the points are linked by straight segments. With a factor of 2, the points are linked by incoming arcs.
From left to right: Form factors 2, 1, 0.5 and 0.
- You may modify the Angle of your lens flares:
From left to right: Angles 0°, -15°, -30°, -45°, -60°, -75°.
When required, each Lens Flare of the generic type may be given its own Blades mode different from the Global blades mode described above. The latter is located at the bottom of the generic Lens Flare parameters and offers the same options.