BBMOD_DefaultLightmapMaterial

Extends BBMOD_DefaultMaterial

constructor

new BBMOD_DefaultLightmapMaterial([_shader])

Description

A material that can be used when rendering lightmapped models with two UV channels.

Arguments

Name Type Description
_shader Struct.BBMOD_LightmapShader A shader that the material uses in the BBMOD_ERenderPass.Forward pass. Leave undefined if you would like to use BBMOD_Material.set_shader to specify shaders used in specific render passes.

Properties

Name Description
Lightmap A texture with RGBM encoded lightmap. Overrides the default lightmap texture defined with bbmod_lightmap_set.

See also

BBMOD_LightmapShader

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.