Closed intckarl closed 4 years ago
In 3DSceneLayer.json, the materialDefinitions
property is an array of materialDefinitions
, which may contain multiple materialDefinitions
The nodepage may contain a mesh.material.definition
with the index to the corresponding materialDefinition
in the materialDefinitions
array, for each node.
Within each materialDefinition
some properties may contain a textureSetDefinitionId
with the index of the texture in textureSetDefinitions.
There used to be shared resourse in each node to contorl material and texture, but in 1.7, the shared resourse is deprecated, now there is only one materialDefinitions in 3DSceneLayer.json.
So how does it control texture in every node?