BBMOD_BaseShader.set_fog DEPRECATED

A function defined in BBMOD_BaseShader.gml

set_fog([_color[, _intensity[, _start[, _end]]]])

Description

Sets uniforms BBMOD_U_FOG_COLOR, BBMOD_U_FOG_INTENSITY, BBMOD_U_FOG_START and BBMOD_U_FOG_RCP_RANGE.

Arguments

Name Type Description
_color Struct.BBMOD_Color The color of the fog. If undefined, then the value set by bbmod_fog_set_color is used.
_intensity Real The fog intensity. If undefined, then the value set by bbmod_fog_set_intensity is used.
_start Real The distance at which the fog starts. If undefined, then the value set by bbmod_fog_set_start is used.
_end Real The distance at which the fog has maximum intensity. If undefined, then the value set by bbmod_fog_set_end is used.

Returns

Struct.BBMOD_BaseShader Returns self.

Deprecated

Please use bbmod_shader_set_fog instead.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.