A function defined in __bbmod_shader_set.gml
bbmod_shader_set_lightmap(_shader[, _texture])
Sets the BBMOD_U_LIGHTMAP uniform.
Name | Type | Description |
---|---|---|
_shader | Asset.GMShader |
The shader to set the uniform for. |
_texture | Pointer.Texture |
The new RGBM encoded lightmap texture. If not specified, defaults to the one configured using bbmod_lightmap_set. |
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.