Texture (Chất Liệu)

Assigns a texture to the Freestyle stroke.

../../../../_images/render_freestyle_parameter-editor_line-style_texture_tab.png

Phong Cách Đường Nét: Chất Liệu.

Sử Dụng Nút (Use Nodes)

In Cycles textures are defined by means of shader Nodes.

Phân Nhịp Dọc theo Nét Vẽ (Spacing Along Stroke)

Allows to set the "pace" of textures mapped along the length of strokes.

Đi đến các Chất Liệu Phong Cách Đường Nét (Go to Linestyle Textures)

A shortcut to the line style texture properties in the other Textures tab of the Properties. Make sure to first enable Use Nodes.

Nút (Nodes)

Nút UV Dọc Theo Nét Vẽ (UV Along Stroke Node)

../../../../_images/node-types_ShaderNodeUVAlongStroke.webp

Nút UV Dọc Theo Nét Vẽ.

The UV Along Stroke input node is maps textures along the stroke length, making it possible to mimic pencil, paintbrush, and other art medium marks.

Ghi chú

These UV maps become available only during the Freestyle rendering process. Hence, the UV Along Stroke node cannot be replaced by the conventional UV Map input node which takes an existing UV map already defined as part of mesh data.

Đầu Vào (Inputs)

Nút này không có đầu vào.

Tính Chất (Properties)

Dùng Đỉnh (Use Tips)

Allows to use lower quarters of a texture image for the head and tail tips of a stroke, while the upper half for the stroke body.

Đầu Ra (Outputs)

UV

UV maps defined along strokes.

Nút Đầu Ra Phong Cách Nét (Line Style Output Node)

../../../../_images/node-types_ShaderNodeOutputLineStyle.webp

Nút Đầu Ra Phong Cách Nét.

The Line Style Output node specifies how to mix the texture information into the base color of line styles.

Đầu Vào (Inputs)

Màu Sắc (Color)

Color input for the texture.

Hệ Số Màu (Color Factor)

Standard mix factor of the Color value.

Alpha

Alpha input for the texture.

Hệ Số Alpha (Alpha Factor)

Standard mix factor of the Alpha value.

Tính Chất (Properties)

Hòa Trộn (Mix)

The Blend mode can be selected in the select menu. See Color Blend Modes for details on each blending mode.

Clamp (Hạn Định)

Limit the highest color value to not exceed 1.0.

Đầu Ra (Outputs)

Nút này không có đầu ra.

Ví Dụ (Example)

The image below shows a typical shader node tree that maps a floral texture image along strokes. The UV Along Stroke input node retrieves UV maps defined by Freestyle along generated strokes, and passes them to the Vector input channel of the Image Texture node. A texture image is selected in the Image Texture node, and its color is inputted to the Alpha channel of the Line Style Output node. Since the Alpha Factor is set to one, the texture image replaces the base alpha transparency of the active line style (shown in the Freestyle Line Style panel). On the other hand, the Mix blend mode is selected in the Line Style Output node with the Color Factor set to zero, so that the gradient line color specified in the active line style is applied along strokes.

../../../../_images/render_freestyle_parameter-editor_line-style_texture_uv-along-stroke-example.png

Example of Line Style Nodes (blend-file).

It is noted that the texture image FS_floral_brush.png shown in the screen capture is an example of Freestyle brush images with tips. Specifically, the upper half of the image is used as a seamless horizontal tile of the stroke body. Whereas the parts in the lower half are tips (stroke caps) at both ends of the stroke.