Вузол «Вибоїстість» – Bump Node

Вузол «Вибоїстість» -- Bump.

The Bump node generates a perturbed normal from a height texture, for bump mapping. The height value will be sampled at the shading point and two nearby points on the surface to determine the local direction of the normal.

Inputs – Уводи

Strength – Сила

Сила ефекту розкладання вибоїстості, в інтерполяції між відсутністю розкладання вибоїстості та повним розкладанням вибоїстості.

Distance – Відстань

Множник для значення висоти для керування загальною відстанню для розкладання вибоїстості.

Filter Width

Filter width in pixels, used to compute the bump mapping direction. For most textures the default value of 0.1 enables subpixel filtering for stable results. For stepwise textures a larger filter width can be used to get a bevel like effect on edges.

This input only supports a fixed value, it can not vary across the surface.

Height – Висота

Скалярне значення, що дає зсув висоти від відстані у точці відтінювання; це місце, де ви під’єднуєте текстури.

Нормальний

Стандартний увід нормалі поверхні.

Властивості

Invert – Інверт

Інвертує розкладання вибоїстості для зміщення всередину поверхні замість назовні.

Outputs – Виводи

Нормальний

Стандартний вивід нормалей.

Порада

If the Height input is not connected, the node becomes a no-op that outputs its Normal input as is, or defaults to the geometry normal if not connected. Routing a node group input via a no-op Bump node before doing math effectively makes it default to normal.

Examples – Приклади

../../../_images/render_shader-nodes_vector_bump_node-setup.png

Уклад вузлів вище дає вибоїстість тільки для розсіяної, дифузної частини шейдера, симулюючи вибоїсту розсіяну поверхню, покриту гладким глянцевим «глазурованим» шаром.

../../../_images/render_shader-nodes_vector_bump_example.jpg