Camera lens flare compositor. More...
#include <rendering/rendering.hh>
Public Member Functions | |
LensFlare () | |
Constructor. More... | |
virtual | ~LensFlare () |
Destructor. More... | |
void | SetCamera (CameraPtr _camera) |
Set the camera which lensFlare will be applied to. More... | |
void | SetScale (const double _scale) |
Set the scale of lens flare. More... | |
Camera lens flare compositor.
This lens flare effect does not perform any depth checking so if the directional light is occluded by an object in the scene, lens flare will pass through the object. The lens flare's color is set by the shaders and not exposed through an API in this class.
LensFlare | ( | ) |
Constructor.
|
virtual |
Destructor.
void SetCamera | ( | CameraPtr | _camera | ) |
Set the camera which lensFlare will be applied to.
[in] | _camera | Camera to be distorted |
void SetScale | ( | const double | _scale | ) |
Set the scale of lens flare.
Must be greater than 0.
[in] | _scale | Scale of lens flare |