materialTexture

December 17, 2019 ยท View on GitHub

The material texture definition.

cmn::materialDefinitions, cmn::pbrMetallicRoughness

Properties

PropertyTypeDescription
textureSetDefinitionIdintegerThe index in layer.textureSetDefinitions.
texCoordintegerThe set index of texture's TEXCOORD attribute used for texture coordinate mapping. Default is 0. Deprecated.
factornumberThe 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
}