Contrary to the lensflare based on the rendering on the screen in post process, the lensflare billboard is rendered in the world on a simple plane, that allows to have more control on the rendering of this one, and to use several different flare, but has a more important blow to a significant number of instance.
The lensflare billboard is intended to be used on local sources such as high power lamps or the sun.
Entirely coded in Shader Material with 80% in HLSL (custom node), and is therefore only on the GPU side, it allows to be very powerful.
Fully configurable by constant material instance, includes high quality textures.
Feature :
Billboard Shader WPO : Allows to perform an automatic rotation that faces the camera
Distance to Camera WPO : Allows to put the billboard in front of the camera
Fade Occlusion : As the billboard passes in front of everything and can be in disabled depth test, there is an occlusion test to progressively hide the flare when it is more visible, the number of tests can be configured to be more precise, and the distance of the points is based on the uv of the screen.
Flare : Central Flare which is based on a texture .
Center HighLight : Allows to add a strong Fake light ( Only high value, no light simulation ) in the center of the lensflare, the goal is to play with the rendering of the post process and for example to force the rendering of the bloom on the lensflare.
Ghost : Render reflections on the lens, fully parametric and use a texture to render the reflections. The number is unlimited and with the advanced ghost, it is possible to use texture to render the different color of the reflection.
Lens Relfection : Renders a reflection and difraction effect on the front lens, with a chromatic distortion effect.
LighShaft : Render a local light shaft effect.
Assets :
2 Master Material ( Disabled Depth , and Enabled depth )
Materials Instance Constant ( Presets )
Textures Flare ( 8k , 4k , 2k )
Texture Ghost ( 512
Texture Mask ( 2k
Texture Noise ( 64
Texture Tint ( 64
1 Master Actor ( Billboard Material Component )
Demos File
Input: No need input configuration
Network Replicated: No
Supported Development Platforms: Any
Documentation: https://sites.google.com/view/cy-billboard-lensflare/accueil
Important/Additional Notes: Required Unreal engine 4.25 or higher
Unreal engine version compatibility ;
4.25
4.26
4.27
5.0
5.1