bbmod_fog_set

function

bbmod_fog_set(_color, _intensity, _start, _end)

Description

Defines fog properties sent to shaders.

Arguments

Name Type Description
_color Struct.BBMOD_Color The color of the fog. The default fog color is white.
_intensity Real The intensity of the fog. Use values in range 0..1. The default fog intensity is 0 (no fog).
_start Real The distance from the camera where the fog starts at. The default fog start is 0.
_end Real The distance from the camera where the fog has the maximum intensity. The default fog end is 1.

See also

BBMOD_Color, bbmod_fog_get_color, bbmod_fog_get_end, bbmod_fog_get_intensity, bbmod_fog_get_start, bbmod_fog_set_color, bbmod_fog_set_end, bbmod_fog_set_intensity, bbmod_fog_set_start

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.