Extends BBMOD_DefaultMaterial
constructor
new BBMOD_DefaultLightmapMaterial([_shader])
A material that can be used when rendering lightmapped models with two UV channels.
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. |
Name | Description |
---|---|
Lightmap | A texture with RGBM encoded lightmap. Overrides the default lightmap texture defined with bbmod_lightmap_set. |
Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.