TGLFogEnvironment

Page history last edited by PBworks 4 yrs ago

Class used by the fogenvironment property of TGLSceneBuffer. Allows fog parameters to be set.

Important TGLFogEnvironment properties:

color TGLColor The fog color

mode TFogMode The fog quality

startposition How close to the current view port does the fog start.

endposition How far away from the current view port does the fog end.

Refer to the fog article for more information about fog.

Demo: CVS/Demos/rendering/fog

Unit: GLScene

Descends from TGLUpdateAbleObject.

Comments (0)

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