Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kwokcb committed Aug 26, 2023
2 parents 877b4d9 + 63e9b4d commit bf43a73
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ As Khronos extensions are added the subversion will be incremented.
### `2.2 <gltf_image>`
This node provides an interface which matches how image lookup are performed within glTF 2.0 based on this [spec](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_texture_transform/README.md)

<details><summary>Details</summary>
<details open><summary>Details</summary>
<p>

This includes handling these differences:
Expand All @@ -222,7 +222,10 @@ This includes handling these differences:
* The default transformation order is TRS for glTF and not SRT.

This is supported for all variants of this node: vector3, float, color3, and color4. No vector2 variant is required at this time.
One texture coordinate set referenced by set index is allowed, with the default set being 0. U and V address modes and filter type are accessible with the defaults for glTF and MaterialX matching.
* One texture coordinate set referenced by set name, with the default set being "UV0" which is equal to set 0.
* Names are used to support **OpenUSD** workflows where al sets are named.
* A `<texcoord>` node which a different index can be connected to provide index based workflows as found for glTF.
* U and V address modes and filter type are accessible with the defaults for glTF and MaterialX matching.

The color4 output is split into color3 and alpha outputs which can be directly mapped to a `gltf_pbr` node.

Expand Down

0 comments on commit bf43a73

Please sign in to comment.