Hello everybody! My free lensflare plugin.
- Include lensflare.xml and also add lensflare_settings in your project as shown in the example:
Code
<krpano>
<scene name=""···>
···
<include url="%SWFPATH%/skin/lensflare.xml"/>
<lensflare_settings editor="false"
ath="0.0" atv="0.0"
sun="0.1"
glare="0.1"
r_ring="0.15"
exposure="true"
exposure_bias="-1.0"/>
<scene/>
<krpano/>
Display More
- Set editor="true" to enable Lensflare Editor.
- Make all the necessary settings and click the button "Get code".
Plugin Attributes
- editor
Lensflare Editor - helper for tuning parameters and positioning of the Lensflare. Set "true" to enable Lensflare Editor. - ath, atv
The spherical coordinates of the Lensflare in degrees. - sun
Transparency (brightness) of the sun. - glare
The effect of bright sunlight. - r_ring
The transparency (brightness) of the rainbow ring. - exposure
The option allows you to adjust the exposure when looking at the sun. Must have a plugin Light Postprocessing Plugin (pp_light.js) in plugins folder.
Note - If you do not use this plugin, set exposure="false".
Note - exposure is disabled for mobile devices, as on most of them, this will lead to reduced performance! - exposure_bias
The value of exposure bias.
Note - plugin is disabled when view.distortion > 0. More details>>>.
Updated. Compatible with krpano 1.20.8