FOG AVAILABLE This command will return an integer value of 1 if the current 3D card supports fogging.
Syntax
    Return Integer=FOG AVAILABLE()
Returns
This command will return a value of 1, if the current 3D card supports fogging
Description
Fogging is used to create the effect of 3D fog used by the commands FOG ON, FOG DISTANCE and FOG COLOR.
Example Code
    backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0

    if fog available()=0:print "not available":else:print "available":endif

    if fogrange available()=0:print "not available":else:print "available":endif

    if fogtable available()=0:print "not available":else:print "available":endif

    while mouseclick()=0

    sync

    endwhile

    if object exist(ObjectNumber)=1 then delete object ObjectNumber

    end
See also
BASIC3D Commands Menu Index