set_gpu_fog

function

set_gpu_fog(_enable, _color, _start, _end)

Description

Adds a BBMOD_ERenderCommand.SetGpuFog command into the queue.

Arguments

Name Type Description
_enable Bool Use true to enable fog.
_color Constant.Color The color of the fog.
_start Real The distance from the camera at which the fog starts.
_end Real The distance from the camera at which the fog reaches maximum intensity.

Returns

Struct.BBMOD_RenderQueue Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on June 19, 2022 using GMDoc.