Skip to main content

Class: GLTFMaterialsLightMapExtension

Asset-Management.GLTFMaterialsLightMapExtension

Light Map Extension

lightMapTexture and lightMapIntensity are added to the material

Specification: https://dist.pixotronics.com/webgi/manual/gltf/WEBGI_materials_lightmap.html

Properties

name

name: string

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:469


parser

parser: GLTFParser

Constructors

constructor

new GLTFMaterialsLightMapExtension(parser)

Parameters

NameType
parserGLTFParser

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:470

Methods

extendMaterialParams

extendMaterialParams(materialIndex, materialParams): Promise<void | void[]>

Parameters

NameType
materialIndexnumber
materialParamsany

Returns

Promise<void | void[]>

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:487