bbmod_shader_set_lightmap

A function defined in __bbmod_shader_set.gml

bbmod_shader_set_lightmap(_shader[, _texture])

Description

Sets the BBMOD_U_LIGHTMAP uniform.

Arguments

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.
Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.