Вузол «Текстура Білого Шуму» – White Noise Texture Node#

Примітка

This node is ported from shader nodes. The manual and images are referencing the shader version of the node. This node accepts field inputs and outputs. When not connected the Vector input has an implicit position attribute value.

The White Noise Texture node returns a random number based on an input Seed. The seed can be a number, a 2D vector, a 3D vector, or a 4D vector; depending on the Dimensions property. The output number ranges between zero and one.

Вузол «Текстура Білого Шуму» -- White Noise Texture.

Inputs – Уводи#

Ці уводи є динамічними, вони стають доступними при необхідності, залежно від властивостей вузла.

Vector – Вектор

Вектор, що використовується як базис у 2D, 3D та 4D вимірах.

W

Значення, що використовується як базис у 1D та 4D вимірах.

Properties – Властивості#

Розмірності – Dimensions

Розмірності простору для обчислення шуму.

1D:

Увід W використовується як базис.

2D:

Компоненти X та Y уводу Vector використовуються як базис.

3D:

Увід Vector використовується як базис.

4D:

Обидва, увід Vector та увід W, використовуються як базис.

Outputs – Виводи#

Value – Значення

Вивідне випадкове значення.

Color – Колір

Вивід випадкового кольору.

Notes – Примітки#

The slightest difference in seed values would result in completely different outputs. Consequently, bad precision may have significant impact on the output. Usually, we can mitigate this issue by:

  • Eliminating the problematic seed value. If the problematic seed value is constant, it should be eliminated by choosing a lower dimension or multiplying it by zero.

  • Adding an arbitrary value to the seed. The issue might only happen at certain boundaries, like unit boundaries, so simply adding an arbitrary value might solve the issue.

  • Taking the absolute value of the seed. In computing, zero may be positive or negative, so taking the absolute values unifies the zero into a single value.

../../../_images/render_shader-nodes_textures_white-noise_issue.png

Проблема точності через нулі зі знаком на осі Z.#

../../../_images/render_shader-nodes_textures_white-noise_solution1.png

Послаблювання проблеми шляхом усування осі Z.#

../../../_images/render_shader-nodes_textures_white-noise_solution2.png

Послаблювання проблеми шляхом додавання довільного значення.#

../../../_images/render_shader-nodes_textures_white-noise_solution3.png

Послаблювання проблеми шляхом взяття абсолютного значення.#

Examples – Приклади#

../../../_images/render_shader-nodes_textures_white-noise_solution1.png

Генерування шуму комірки за допомогою векторної операції Snap та шуму від White Noise.#