Nút Thông Tin Vật Thể -- Object Info Node

../../../_images/render_shader-nodes_input_object-info_node.png

Object Info Node.

The Object Info node gives information about the object instance. This can be useful to give some variation to a single material assigned to multiple instances, either manually controlled through the object index, based on the object location, or randomized for each instance. For example a Noise texture can give random colors or a Color Ramp can give a range of colors to be randomly picked from.

Đầu Vào -- Inputs

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

Tính Chất -- Properties

Nút này không có tính chất nào cả.

Đầu Ra -- Outputs

Vị Trí -- Location

Location of the object in world space.

Color

Object color, same as Color in the Properties ‣ Object Properties ‣ Viewport Display.

Chỉ Số Vật Thể -- Object Index

Object pass index, same as Pass Index in the Properties ‣ Object Properties ‣ Relations.

Chỉ Số Nguyên Liệu -- Material Index

Material pass index, same as Pass Index in the Properties ‣ Material ‣ Settings.

Ngẫu Nhiên -- Random

Random number unique to a single object instance.

Ghi chú

Note that this node only works for material shading nodes; it does nothing for light and world shading nodes.

Ví Dụ -- Example

../../../_images/render_shader-nodes_input_object-info_example.png