A function defined in BBMOD_BaseShader.gml
set_fog([_color[, _intensity[, _start[, _end]]]])
Sets uniforms BBMOD_U_FOG_COLOR, BBMOD_U_FOG_INTENSITY, BBMOD_U_FOG_START and BBMOD_U_FOG_RCP_RANGE.
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. |
Struct.BBMOD_BaseShader
Returns self
.
Please use bbmod_shader_set_fog instead.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.