glscene

 

TGLLensFlare

Page history last edited by skinhat 4 yrs ago

Displays the kind of flare you might see on a photograph when photographing something during a sunny day.

The lensflare has three parts which includes the glow section (the centre), the streak (the streaks radiating out from the centre) and a ring around the streaks. The color of these can be changed by setting the color gradient of the glowgradient, raysgradient and ringgradient respectively.

Important TGLLensFlare properties include:

glowgradient TGLFlareGradient Color gradient for the centre glow section of the lensflare

raysgradient TGLFlareGradient Color gradient for streaks radiating out from the centre of the lensflare

ringgradient TGLFlareGradient Color gradient for the ring around the streaks

Demo: CVS/Demos/rendering/SkyBox

Unit: GLLensFlare

Descends from TGLBaseSceneObject.

Comments (0)

You don't have permission to comment on this page.