Go to: Related nodes. Attributes.

uvChooser node to handle multiple uv sets

The uvChooser has a multi attribute that gets connected to the shape connected to the parent shading group. The virtual connection is the st attribute. This node does most of his work during analysis and will only copy the st attribute to his output uv attribute during evaluation. The uvChooser node will feed any existing shading node that accept a uv.

This node is MP safe

Node name Parents Classification MFn type Compatible function sets
uvChooser node
utility/general/placement/2d kUvChooser kBase
kNamedObject
kDependencyNode
kUvChooser

Related nodes

layeredTexture, envCube, envSphere, envSky, envBall, envChrome, bump3d, bump2d, texture2d, ramp, file, cloth, water, stencil, checker, fractal, bulge, grid, mountain, texture3d, projection, cloud, granite, crater, leather, stucco, brownian, solidFractal, marble, wood, rock, snow, defaultTextureList, place2dTexture, place3dTexture

Attributes (46)

infoBits, outU, outUv, outV, outVertexCameraOne, outVertexCameraOneX, outVertexCameraOneY, outVertexCameraOneZ, outVertexUvOne, outVertexUvOneU, outVertexUvOneV, outVertexUvThree, outVertexUvThreeU, outVertexUvThreeV, outVertexUvTwo, outVertexUvTwoU, outVertexUvTwoV, sCoord, stCoord, tCoord, uCoord, uvCoord, uvSets, vCoord, vertexCameraOne, vertexCameraOneX, vertexCameraOneY, vertexCameraOneZ, vertexStOne, vertexStOneS, vertexStOneT, vertexStThree, vertexStThreeS, vertexStThreeT, vertexStTwo, vertexStTwoS, vertexStTwoT, vertexUvOne, vertexUvOneU, vertexUvOneV, vertexUvThree, vertexUvThreeU, vertexUvThreeV, vertexUvTwo, vertexUvTwoU, vertexUvTwoV

Long name (short name) Type Default Flags
stCoord (st) float2 outputinput
The multi-uv texture coordinates for the sample point
sCoord (s) float 0.0 outputinput
The s component of the current sample position
tCoord (t) float 0.0 outputinput
The t component of the current sample position
vertexStOne (vs1) float2 outputinput
Triangle's first vertex, in chosen "(s,t)" texture space
vertexStOneS (s1s) float 0.0 outputinput
The s component of aVertexStOne
vertexStOneT (s1t) float 0.0 outputinput
The t component of aVertexStOne
vertexStTwo (vs2) float2 outputinput
Triangle's second vertex, in chosen "(s,t)" texture space
vertexStTwoS (s2s) float 0.0 outputinput
The s component of aVertexStTwo
vertexStTwoT (s2t) float 0.0 outputinput
The t component of aVertexStTwo
vertexStThree (vs3) float2 outputinput
Triangle's third vertex, in chosen "(s,t)" texture space
vertexStThreeS (s3s) float 0.0 outputinput
The s component of aVertexStThree
vertexStThreeT (s3t) float 0.0 outputinput
The t component of aVertexStThree
uvSets (uvs) string NULL arrayoutputinputconnectablestorable
The uvSet to be use for the connected shape
uvCoord (uv) float2 0.0, 0.0 outputinputconnectablehidden
The UV coords of the current sample point
uCoord (u) float 0.0 outputinputconnectablehidden
The u component of the current sample position
vCoord (v) float 0.0 outputinputconnectablehidden
The v component of the current sample position
vertexUvOne (vt1) float2 outputinputconnectablestorablehidden
Triangle's first vertex, in texture space
vertexUvOneU (t1u) float 0.0 outputinputconnectablestorablehidden
X component of aVertexUvOne
vertexUvOneV (t1v) float 0.0 outputinputconnectablestorablehidden
Y component of aVertexUvOne
vertexUvTwo (vt2) float2 outputinputconnectablestorablehidden
Triangle s second vertex, in texture space
vertexUvTwoU (t2u) float 0.0 outputinputconnectablestorablehidden
X component of aVertexUvTwo
vertexUvTwoV (t2v) float 0.0 outputinputconnectablestorablehidden
Y component of aVertexUvTwo
vertexUvThree (vt3) float2 outputinputconnectablestorablehidden
Triangle s third vertex, in texture space
vertexUvThreeU (t3u) float 0.0 outputinputconnectablestorablehidden
X component of aVertexUvThree
vertexUvThreeV (t3v) float 0.0 outputinputconnectablestorablehidden
Y component of aVertexUvThree
vertexCameraOne (vc1) float3 outputinputconnectablestorablehidden
Triangle s first vertex, in camera space
vertexCameraOneX (c1x) float 0.0 outputinputconnectablestorablehidden
X component of aVertexCameraOne
vertexCameraOneY (c1y) float 0.0 outputinputconnectablestorablehidden
Y component of aVertexCameraOne
vertexCameraOneZ (c1z) float 0.0 outputinputconnectablestorablehidden
Z component of aVertexCameraOne
infoBits (ib) integer 0 outputinputconnectablehidden
Information bits passing along information about type of shading
outUv (ouv) float2 0.0, 0.0 outputconnectable
The UV coords from the selected uv set of the current sample point
outU (ou) float 0.0 outputconnectable
The u component of the current sample position
outV (ov) float 0.0 outputconnectable
The v component of the current sample position
outVertexUvOne (ov1) float2 outputinputconnectablestorablehidden
Triangle s first outVertex, in resulting texture space
outVertexUvOneU (o1u) float 0.0 outputinputconnectablestorablehidden
U component of aOutVertexUvOne
outVertexUvOneV (o1v) float 0.0 outputinputconnectablestorablehidden
V component of aOutVertexUvOne
outVertexUvTwo (ov2) float2 outputinputconnectablestorablehidden
Triangle s second outVertex, in resulting texture space
outVertexUvTwoU (o2u) float 0.0 outputinputconnectablestorablehidden
U component of aOutVertexUvTwo
outVertexUvTwoV (o2v) float 0.0 outputinputconnectablestorablehidden
V component of aOutVertexUvTwo
outVertexUvThree (ov3) float2 outputinputconnectablestorablehidden
Triangle s third outVertex, in resulting texture space
outVertexUvThreeU (o3u) float 0.0 outputinputconnectablestorablehidden
U component of aOutVertexUvThree
outVertexUvThreeV (o3v) float 0.0 outputinputconnectablestorablehidden
V component of aOutVertexUvThree
outVertexCameraOne (oc1) float3 outputinputconnectablestorablehidden
For filtering of file textures with bump map, the x and y components of this field contains the chose space coordinates of original sample point.
outVertexCameraOneX (o1x) float 0.0 outputinputconnectablestorablehidden
X component of aOutVertexCameraOne, but really s coordinate of original sample point.
outVertexCameraOneY (o1y) float 0.0 outputinputconnectablestorablehidden
Y component of aOutVertexCameraOne, but really t coordinate of original sample point.
outVertexCameraOneZ (o1z) float 0.0 outputinputconnectablestorablehidden
Z component of aOutVertexCameraOne, but really unused.