|
GINO Graphics Suite - GINO v9.0
|
|
 |
 |
gEnqFog
Syntax
[C/C++:]
void gEnqFog(GFOGATT *attribs);
[F90:]
subroutine gEnqFog(attribs)
type (GFOGATT), intent(out) :: attribs
Arguments
attribs.mode
Fog mode
|
= GLINEAR, |
Linear for depth-cueing |
|
= GEXP1, |
Exponential for cloud and heavy fog |
|
= GEXP2, |
Exponential for smoke and weather haze |
attribs.colour
Fog colour (index or 24bit true colour value)
attribs.density
Fog density for exponential modes (default = 0.0025)
attribs.start
Start depth for linear fog (default = 0.0)
attribs.end
End depth for linear fog (default = 1.0)
Description
The routine gEnqFog() returns the current fog settings.
See Also
gEnqFog UsagegDefineFog