Table Of Contents
This node allows render-time automatic assignment of UV coordinates, projected on each axis. This technique is useful for surfaces that are difficult to unwrap and bake UV coordinates on and works for color, bump and displacement textures.
Different texture projected onto each axis and blended
Same Image On Each Axis
When enabled, this option forces Image X shaders to be executed for all axis projections. When disabled, Image Y and Z shaders will be executed for the Y and Z axis projections respectively.
The color for the X/Y/Z axis projections, respectively.
Image X/Y/Z Alpha
The alpha for the X/Y/Z axis projections, respectively.
This value dermines how much of the color results for each axis can overlap and be blended together. Having some amount of blending results in a soft transition between axis colors, instead of a hard edge.
|Blend Amount: 0.0||0.1||1.0|
This value determines the power curve of the axis overlap blend and can be used to tighten or slacken the blending effect between axis colors.
Blend Curve: 1.0
Blend Amount: 1.0
The UV projection for each axis is computed from the coordinates of the object that is being shaded. Because objects can vary in size and location in the world, the options below allow you to tune how the object coordinates are mapped onto uvs.
These values scale the projected UVs computed for each axis.
|Scale X, Y, Z: 1.0, 1.0, 1.0||2.0, 2.0, 2.0||0.3, 6.0, 4.0|
These values offset the projected UVs computed for each axis. Combined with the Scale option, the UVs for each axis are modifed like so:
u = (u + Offset.z) * Scale.z
v = (v + Offset.y) * Scale.y
u = (u + Offset.x) * Scale.x
v = (v + Offset.z) * Scale.z
u = (u * Offset.x) * Scale.x
v = (v * Offset.y) * Scale.y
These values, in degrees, rotate each axis UV projection respectively, so the Rotation.x value rotates the X Axis projection etc. This rotation is applied after the above Scale and Offset adjustment.
Projection Space Type
This specifies the projection space type, which determines which object shading coordinates are projected into uv coordinates. The options are as follows:
- World - uses the world-space coordinates that are being shaded. This option will result in texture projection 'swimming' if the object moves or is instanced.
- Object - uses the object-space coordinates that are being shaded. This option undoes the world transform to lock the coordinates to the local object space, resulting in no texture projection swimming when the object moves or is instanced.
- Reference - uses the object reference pose coordinates, if available. This option results in no texture projection swimming when the object moves, is instanced or is deformed.