glscene

 

TFogMode

Page history last edited by skinhat 4 yrs ago

Class for the mode property of TGLFogEnvironment. TFogMode defines the quality of the fog.

TFogMode is the enumerated type:

TFogMode = (fmLinear, fmExp, fmExp2);

fmLinear: the best quality fog though uses more resources

fmExp: is a basic fog. It covers the whole screen, but does not give much of a fog effect.

fmExp2: is one step up from fmExp and gives a better fog effect.

Refer to the fog article for more information about fog.

Demo: CVS/Demos/rendering/fog

Unit: GLScene

Comments (0)

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