S3DR_UseFog()

Syntax

S3DR_UseFog(UseFog.l,FogStart.f,FogEnd.f,FogColor.l)

Description

This command enables or disables fog. If UseFog.l is nonzero fog is enabled.

This command must be inside of a S3DR_BeginReal3D()...S3DR_EndReal3D() block.
If the function fails, it returns nonzero.
Don't use this command if you're using the software-device. It's not supported by the device.

Supported OS

Windows

Sprite3DReal - Index