UV Texture
A MaterialX version of USD UV Texture reader.
Parameter Types
Parameter descriptions
- Bias
The bias the node applies to all components of the texture. The node adds this parameter to the texture after multiplying it by the scale.
- Fallback
The value to use if the texture can’t be read from the file.
- File
The image file to use for the texture.
- Scale
The scale the node applies to all components of the texture. The node multiplies the texture value by this parameter.
- St
The 2D coordinate at which the data is read for mapping the texture onto a surface. This node maps from
sttouvimage space. The(0,0)coordinate instimage space maps to the(0,0)coordinate in theuvspace which represents the lower-left–hand corner. The(1,1)coordinate instimage space maps to the(1,1)coordinate inuvspace which represents the upper-right–hand corner.- Wrap S
The way that the node handles
Svalues outside of the range of0-1.- Wrap T
The way that the node handles
Tvalues outside of the range of0-1.
Output descriptions
- RGBA
The
Color4output of the texture that contains a red, green, blue, and alpha component.- RGB
The standard
Color3output of the texture that contains a red, green, and blue component.- Read
Only the red component of the texture.
- Green
Only the green component of the texture.
- Blue
Only the blue component of the texture.
- Alpha
Only the alpha component of the texture.
Discussion
The Wrap parameters for the node tell the node how to handle S and T values outside of the normal range of 0-1. These inputs take one of four values to determine their behavior.
black: Texture coordinates outside the normal range return black.
clamp: Texture coordinates outside the normal range clamp to the normal range. Any values greater than
1are set to1, and any values less than0are set to0periodic: Texture coordinates outside the normal range are normalized into a range of
0-1, tiling the image. This is effectively equivalent to applying modulo 1 to the coordinates.