Triplanar map
The Triplanar Map texture works in conjunction with a Triplanar projection. The Triplanar projection takes the coordinates in world or object space and it picks the projection axis, depending on the active axis of the Triplanar Map. This gives a quick way to map a texture on any object, and presents the possibility for texture transforms local to each projection axis. The Triplanar Map has six input pins representing the positive and negative x, y, and z planes. The same or different Texture nodes can map to each of these input pins (figure 1).
Figure 1: Triplanar map Node
Figure 2: Triplanar example
It divides a Material map into six areas corresponding to the x, -x, y, -y, z and -z axis. At first, a Texture covers the entire Object's surface, but the Triplanar mapping confines the Texture's visibility onto the Texture's corresponding axes that are active. Figure 3 shows a comparison of an image without the Triplanar mapping versus one that is plugged into the Triplanar texture's X and Y axis pins.
Figure 3: Triplanar Axis Mapping
The Triplanar texture has the Blend Angle and Blend Cube Transform parameters, which soften the seams.
Figure 4: No Triplanar mapping (left), and with Triplanar mapping (right)
Parameters
- Blend angle - The angle on an edge to linearly blend two adjacent textures.
- Coordinate space - Coordinate space used when blending.
- Blend cube transform - Blending cube transformation applied.
- Positive X axis texture - Texture to blend to for the positive X-axis contribution to the mapping.
- Negative X axis texture - Texture to blend to for the negative X-axis contribution to the mapping.
- Positive Y axis texture - Texture to blend to for the positive Y-axis contribution to the mapping.
- Negative Y axis texture - Texture to blend to for the negative Y-axis contribution to the mapping.
- Positive Z axis texture - Texture to blend to for the positive Z-axis contribution to the mapping.
- Negative Z axis texture - Texture to blend to for the negative Z-axis contribution to the mapping.