Узел «Отображение»

The Mapping Node is used to transform an image or procedural texture. For example, you can use it to move, rotate, or scale textures. If you have ever done any UV editing in the past, then you will likely know that these can also be accomplished by modifying an object’s UVs in the UV editor. However, it is sometimes useful to have easy access to these functions through nodes rather than having to modify the UVs. One example of this might be when you have several textures, each of which needs to be transformed individually e.g. decals on an object.

../../../_images/render_shader-nodes_vector_mapping_node.png

Mapping node.

Входы

Вектор
Vector to be transformed, usually this is input from a Texture Coordinate node.

Свойства

Тип вектора

Allows the user to choose which vector type to use.

Текстура
This is the most common option that you will use and will be sufficient for most cases.
Точка
This works similar to Texture but the way the math works the Scale values are divided rather than multiplied.
Вектор
Behaves the same as Point mode but changes in Location are ignored – that is, the texture does not move.
Норм.
Transforms a normal vector with unit length.
Расположение
Перенос вектора.
Вращение
Rotation of the vector along the XYZ axes.
Масштаб
Scale of the vector, in Point and Vector modes, a value of 2.0 will halve the texture size, while in Texture mode the size is double.
Min/Max
Normalizes the Location, Rotation, and Scale values to fit within the specified XYZ values.

Выходы

Вектор
Transformed vector, usually gets connected to some sort of Texture node.

Примеры

Todo <2.8 add.