OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Reference Manual - TGLLensFlare

image

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

image

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:
size integer Maximum radius of the lenseflare in pixels
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.

  Attachment Size Date Added
    
There are no comments on this page. [Add comment]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0926 seconds