沃罗诺伊纹理着色器节点

../../../_images/render_shader-nodes_textures_voronoi_node.png

沃罗诺伊纹理着色器节点。

沃罗诺伊纹理 节点在输入纹理坐标处评估 Worley噪波

输入

输入是动态的,下面的输入端口会在选择的节点属性需要时出现。

矢量

Texture coordinate to evaluate the noise at; defaults to Generated texture coordinates if the socket is left unconnected.

W

Texture coordinate to evaluate the noise at.

比例|缩放

Scale of the noise.

平滑度

噪波的平滑度。

../../../_images/render_shader-nodes_textures_voronoi_smoothness-distance-zero.png

平滑度: 0.0.

../../../_images/render_shader-nodes_textures_voronoi_smoothness-distance-quarter.png

平滑度: 0.25.

../../../_images/render_shader-nodes_textures_voronoi_smoothness-distance-half.png

平滑度: 0.5.

../../../_images/render_shader-nodes_textures_voronoi_smoothness-distance-one.png

平滑度: 1.0.

../../../_images/render_shader-nodes_textures_voronoi_smoothness-color-zero.png

平滑度: 0.0.

../../../_images/render_shader-nodes_textures_voronoi_smoothness-color-quarter.png

平滑度: 0.25.

../../../_images/render_shader-nodes_textures_voronoi_smoothness-color-half.png

平滑度: 0.5.

../../../_images/render_shader-nodes_textures_voronoi_smoothness-color-one.png

平滑度: 1.0.

指数

闵可夫斯基距离度量指数。

../../../_images/render_shader-nodes_textures_voronoi_minkowski-half.png

指数: 0.5.

../../../_images/render_shader-nodes_textures_voronoi_minkowski-one.png

指数: 1.0.

../../../_images/render_shader-nodes_textures_voronoi_minkowski-two.png

指数: 2.0.

../../../_images/render_shader-nodes_textures_voronoi_minkowski-32.png

指数: 32.0.

随机性

噪波的随机性。

../../../_images/render_shader-nodes_textures_voronoi_randomness-one.png

随机性: 1.0.

../../../_images/render_shader-nodes_textures_voronoi_randomness-half.png

Randomness: 0.5.

../../../_images/render_shader-nodes_textures_voronoi_randomness-quarter.png

Randomness: 0.25.

../../../_images/render_shader-nodes_textures_voronoi_randomness-zero.png

Randomness: 0.0.

属性

规格尺寸

用于计算噪波的空间维度。

  • 1D

    Evaluate the noise in 1D space at the input W.

    2D

    Evaluate the noise in 2D space at the input Vector. The Z component is ignored.

    3D

    Evaluate the noise in 3D space at the input Vector.

    4D

    Evaluate the noise in 4D space at the input Vector and the input W as the fourth dimension.

Higher dimensions corresponds to higher render time, so lower dimensions should be used unless higher dimensions are necessary.

特性

The Voronoi feature that the node will compute.

  • F1

    The distance to the closest feature point as well as its position and color.

    ../../../_images/render_shader-nodes_textures_voronoi_smoothness-distance-zero.png

    距离。

    ../../../_images/render_shader-nodes_textures_voronoi_smoothness-color-zero.png

    颜色。

    ../../../_images/render_shader-nodes_textures_voronoi_f1-position.png

    位置。

    F2

    The distance to the second closest feature point as well as its position and color.

    ../../../_images/render_shader-nodes_textures_voronoi_f2-distance.png

    距离。

    ../../../_images/render_shader-nodes_textures_voronoi_f2-color.png

    颜色。

    ../../../_images/render_shader-nodes_textures_voronoi_f2-position.png

    位置。

    平滑 F1

    A smooth version of F1.

    ../../../_images/render_shader-nodes_textures_voronoi_smoothness-distance-one.png

    距离。

    ../../../_images/render_shader-nodes_textures_voronoi_smoothness-color-one.png

    颜色。

    ../../../_images/render_shader-nodes_textures_voronoi_smooth-f1-position.png

    位置。

    到边缘的距离

    The distance to the edges of the Voronoi cells.

    ../../../_images/render_shader-nodes_textures_voronoi_distance-to-edge.png

    距离。

    ../../../_images/render_shader-nodes_textures_voronoi_distance-to-edge-less-than.png

    Distance smaller than 0.05.

    N 球体半径

    The radius of the n-sphere inscribed in the Voronoi cells. In other words, it is half the distance between the closest feature point and the feature point closest to it.

    ../../../_images/render_shader-nodes_textures_voronoi_n-sphere-radius.png

    The n-sphere radius can be used to create tightly packed n-spheres.

    ../../../_images/render_shader-nodes_textures_voronoi_n-sphere-radius-nodetree.png

    Node tree for the shader to the left.

间隔矩阵

The distance metric used to compute the texture.

  • 欧几里德

    Use the Euclidean distance metric.

    曼哈顿点距

    Use the Manhattan distance metric.

    切比雪夫

    Use the Chebychev distance metric.

    闵可夫斯基

    Use the Minkowski distance metric. The Minkowski distance is a generalization of the aforementioned metrics with an Exponent as a parameter. Minkowski with an exponent of one is equivalent to the Manhattan distance metric. Minkowski with an exponent of two is equivalent to the Euclidean distance metric. Minkowski with an infinite exponent is equivalent to the Chebychev distance metric.

../../../_images/render_shader-nodes_textures_voronoi_minkowski-half.png

闵可夫斯基指数: 0.5(闵可夫斯基 1/2)。

../../../_images/render_shader-nodes_textures_voronoi_minkowski-one.png

闵可夫斯基指数: 1.0(曼哈顿)。

../../../_images/render_shader-nodes_textures_voronoi_minkowski-two.png

闵可夫斯基指数: 2.0(欧几里得)。

../../../_images/render_shader-nodes_textures_voronoi_minkowski-32.png

闵可夫斯基指数: 32.0(切比雪夫近似)。

输出

距离

距离。

颜色

单元格颜色。颜色是任意的。

位置

特征点的位置。

W

特征点的位置。

半径

N维球面半径。

注意

In some configurations of the node, especially for low values of Randomness, rendering artifacts may occur. This happens due to the same reasons described in the Notes section in the White Noise Texture page and can be fixed in a similar manner as described there.

示例

../../../_images/render_shader-nodes_textures_voronoi_example-beveled-cells.png

The difference between F1 and Smooth F1 can be used to create beveled Voronoi cells.

../../../_images/render_shader-nodes_textures_voronoi_example-hammered-metal.jpg

Creating a hammered metal shader using the Voronoi Texture node.