UV Coords
VEX node
Returns texture coordinates or geometric s and t, depending on what is defined.
See also: Global Variables, UV Texture
This vop checks if texture coordinates are defined for the geometry. If so the those coordinate are returned, otherwise the global s and t are returned. For some geometry, polygons in paticular, the global s and t may not give the desired results. A UVtexture sop will define more desirable U and V texture coordinates.
Outputs
|
uv |
This is the uvw vector. |
|
s |
This is the U texture coordinate or global s, depending on what is defined. |
|
t |
This is the V texture coordinate or global t, depending on what is defined. |
Usages in other examples
| Example name | Example for | |
|---|---|---|
| Fire Pit example |
Material shader |
|
| Down Hill Lava Flow |
Material shader |
|
| InstanceRandomGeo |
Instance particle node |
|
| RampReference | ||
| StickyDonut |
Sticky object |