You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/2.0/Khronos/KHR_texture_procedurals/README.md
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -102,24 +102,25 @@ Usage of the procedural structure is indicated by adding the `KHR_texture_proced
102
102
]
103
103
}
104
104
```
105
-
To indicate the usage of a specific set of definitions an additional entry must be added to `extensionsUsd`. For example usage of definitions from a version of the MaterialX would look like this:
105
+
To indicate the usage of a specific set of definitions an additional entry must be added to `extensionsUsed`. For example usage of definitions from a version of the MaterialX would look like this:
106
+
106
107
```json
107
108
{
108
109
"extensionsUsed": [
109
-
"KHR_texture_procedurals"
110
-
"KHR_texture_procedurals_MaterialX_<version>"
110
+
"KHR_texture_procedurals",
111
+
"EXT_texture_procedurals_mx_x_y_z"
111
112
]
112
113
}
113
114
```
114
-
where `<version>` is specified as a string in the form of `<major version>.<minor version>`. For example, if the MaterialX library version is 1.39, the extension string would be: `KHR_texture_procedurals_MaterialX_1.39`.
115
+
where `<version>` is specified as a string in the form of `<major version>.<minor version>.<patch version>`. For example, if the MaterialX library version is 1.39, the extension string would be: `EXT_texture_procedurals_mx_1_39`.
115
116
116
117
Note that two versions of the same library **cannot** be used in the same glTF asset. For example the following is considered to be invalid:
117
118
```json
118
119
{
119
120
"extensionsUsed": [
120
-
"KHR_texture_procedurals"
121
-
"KHR_texture_procedurals_MaterialX_1.39"
122
-
"KHR_texture_procedurals_MaterialX_2.0>"
121
+
"KHR_texture_procedurals",
122
+
"EXT_texture_procedurals_mx_1_39",
123
+
"EXT_texture_procedurals_mx_2_0"
123
124
]
124
125
}
125
126
```
@@ -128,7 +129,8 @@ Usage of a given extension is defined in the `extensions` object as follows:
0 commit comments