Texture Nodes
In the Shader Designer, texture nodes sample various texture types and geometries, and produce or transform texture coordinates. Textures provide color and lighting detail on objects.
Texture node reference
Node |
Details |
Properties |
---|---|---|
Cubemap Sample |
Takes a color sample from a cubemap at the specified coordinates. You can use a cubemap to provide color detail for reflection effects, or to apply to a spherical object a texture that has less distortion than a 2-D texture. Input:
Output:
|
|
Normal Map Sample |
Takes a normal sample from a 2-D normal map at the specified coordinates You can use a normal map to simulate the appearance of additional geometric detail on the surface of an object. Normal maps contain packed data that represents a unit vector instead of color data Input:
Output:
|
|
Pan UV |
Pans the specified texture coordinates as a function of time. You can use this to move a texture or normal map across the surface of an object. Input:
Output:
|
|
Parallax UV |
Displaces the specified texture coordinates as a function of height and viewing angle. The effect this creates is known as parallax mapping, or virtual displacement mapping. You can use it to create an illusion of depth on a flat surface. Input:
Output:
|
|
Rotate UV |
Rotates the specified texture coordinates around a central point as a function of time. You can use this to spin a texture or normal map on the surface of an object. Input:
Output:
|
|
Texture Coordinate |
The texture coordinates of the current pixel. The texture coordinates are determined by interpolating among the texture coordinate attributes of nearby vertices. You can think of this as the position of the current pixel in texture space. Output:
|
None |
Texture Dimensions |
Outputs the width and height of a 2-D texture map. You can use the texture dimensions to consider the width and height of the texture in a shader. Output:
|
|
Texel Delta |
Outputs the delta (distance) between the texels of a 2-D texture map. You can use the texel delta to sample neighboring texel values in a shader. Output:
|
|
Texture Sample |
Takes a color sample from a 2-D texture map at the specified coordinates. You can use a texture map to provide color detail on the surface of an object. Input:
Output:
|
|