Skip to content

Commit 8543426

Browse files
committed
No relative paths and fix typo
1 parent 26d2629 commit 8543426

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

extensions/2.0/Khronos/KHR_materials_variants/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ In the second case, the shoe would have a white body and sole but red laces. In
108108
]
109109
```
110110

111-
Viewer-specific logic defines, for a given instance of a glTF asset, up to one single active variant. Each `mappings` item gives the material to a compliant viewer should apply for that primitive when any of its `variants` indices is the active one. If there are no matching variants found within `mappings`, or there is no active variant, fall back on vanilla glTF behaviour. Across the entire `mappings` array, each variant index and each material must be used no more than one time.
111+
Viewer-specific logic defines, for a given instance of a glTF asset, up to one single active variant. Each `mappings` item gives the material a compliant viewer should apply for that primitive when any of its `variants` indices is the active one. If there are no matching variants found within `mappings`, or there is no active variant, fall back on vanilla glTF behaviour. Across the entire `mappings` array, each variant index and each material must be used no more than one time.
112112

113113
For each mapping, each index of the `variants` property refers to the index of a material variant located at the glTF root node:
114114

extensions/2.0/Khronos/KHR_materials_variants/schema/glTF.KHR_materials_variants.schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "KHR_materials_variants glTF extension",
44
"type": "object",
55
"description": "glTF extension that defines a material variations for mesh primivites",
6-
"allOf": [ { "$ref": "../../glTFProperty.schema.json" } ],
6+
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
77
"properties": {
88
"variants": {
99
"type": "array",

extensions/2.0/Khronos/KHR_materials_variants/schema/mesh.primitive.KHR_materials_variants.schema.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
"type": "array",
1717
"description": "An array of variant index values.",
1818
"items": {
19-
"allOf": [ {"$ref": "../../glTFid.schema.json" } ]
19+
"allOf": [ {"$ref": "glTFid.schema.json" } ]
2020
},
2121
"minItems": 1,
2222
"gltf_detailedDescription": "An array of index values that reference variants defined in the glTF root's extension object."
2323
},
2424
"material": {
25-
"allOf": [ { "$ref": "../../glTFid.schema.json" } ],
25+
"allOf": [ { "$ref": "glTFid.schema.json" } ],
2626
"description": "The material associated with the set of variants.",
2727
"gltf_detailedDescription": "A reference to the material associated with the given array of variants."
2828
},
@@ -41,4 +41,4 @@
4141
}
4242
},
4343
"required": [ "mappings" ]
44-
}
44+
}

0 commit comments

Comments
 (0)