Class: GLTFMaterialsLightMapExtension
Asset-Management.GLTFMaterialsLightMapExtension
Light Map Extension
lightMapTexture and lightMapIntensity are added to the material
Specification: https://webgi.xyz/docs/gltf-extensions/WEBGI_materials_lightmap.html
Properties
name
• name: string
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:525
parser
• parser: GLTFParser
Constructors
constructor
• new GLTFMaterialsLightMapExtension(parser
)
Parameters
Name | Type |
---|---|
parser | GLTFParser |
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:526
Methods
extendMaterialParams
▸ extendMaterialParams(materialIndex
, materialParams
): Promise
<void
| Texture
[]>
Parameters
Name | Type |
---|---|
materialIndex | number |
materialParams | any |
Returns
Promise
<void
| Texture
[]>
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:543