materialTexture
December 17, 2019 ยท View on GitHub
The material texture definition.
Related:
cmn::materialDefinitions, cmn::pbrMetallicRoughness
Properties
| Property | Type | Description |
|---|---|---|
| textureSetDefinitionId | integer | The index in layer.textureSetDefinitions. |
| texCoord | integer | The set index of texture's TEXCOORD attribute used for texture coordinate mapping. Default is 0. Deprecated. |
| factor | number | The normal texture: scalar multiplier applied to each normal vector of the normal texture. For occlusion texture,scalar multiplier controlling the amount of occlusion applied. Default=1 |
Note: properties in bold are required
Examples
Example: materialTexture
{
"textureSetDefinitionId": 0,
"texCoord": 0
}