BBMOD_DefaultLightmapShader

Extends BBMOD_DefaultShader

constructor

new BBMOD_DefaultLightmapShader(_shader, _vertexFormat)

Description

Shader used by lightmapped materials.

Arguments

Name Type Description
_shader Asset.GMShader The shader resource.
_vertexFormat Struct.BBMOD_VertexFormat The vertex format required by the shader.

Methods

Name Description
set_lightmap Sets the bbmod_Lightmap uniform.

See also

BBMOD_LightmapMaterial

Do you find this page helpful?

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