Cube | This node provides a (beveled) cube geometry. |
Renders a rectangular box with adjustable width, height and depth. Edges can be beveled via the BevelRadius property.
Depending on the actual size of the object in the renderer, it might be necessary to increase the tessellation values Bevel, X, Y and Z to preserve a truly round appearance in the bevel regions. As always, using more triangles often improves rendering or shading quality but decreases rendering performance.
The Cube Node offers two ways to generate UV coordinates. Flat assigns the same planar coordinates to each face where Dice uses a different portion of the unit square for each face. The following example shows a 3x2 texture and the way it is mapped to the different faces of the cube: