Unity Products:Amplify Shader Editor/Nodes/Object Light Space Dir and Unity Products:Amplify Shader Editor/Noise Generator: Difference between pages
(Difference between pages)
AmplifyWiki (talk | contribs) m (1 revision imported) |
ampwiki>Amplify RnD Rick No edit summary |
||
Line 1: | Line 1: | ||
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]] | |||
< | == Noise Generator Node == | ||
[ | |||
The Noise Generator node creates a '''Float''' noise value on a '''[-1 1]''' range using the method specified by [[#paramType|Type]] according to a value specified at [[#paramUV|UV]]. | |||
<br/>'''NOTE:''' Input data must vary across the the geometry since equal values will generate the same noise. A simply way to achieve this is to connect a [[Unity_Products:Amplify_Shader_Editor/Texture_Coordinates|Texture Coordinates]] node into its input. | |||
<img class="responsive-img" src="http://wiki.amplify.pt/images/NodeDetail/NoiseGeneratorNode.jpg"> | |||
<br/><font size="1">Nodes used: | |||
[[Unity_Products:Amplify_Shader_Editor/Vector2|Vector2]], | |||
[[Unity_Products:Amplify_Shader_Editor/Texture_Coordinates|Texture Coordinate]], | |||
[[Unity_Products:Amplify_Shader_Editor/Noise_Generator|Noise Generator]], | |||
[[Unity_Products:Amplify_Shader_Editor/Float|Float]] | |||
</font> | |||
{| class="wikitable" style="width: 100%;" | |||
|- | |||
! style="width: 10%;" | Node Parameter !! Description !! style="width: 10%;" | Default Value | |||
|- style="background: #e5e5e5;" | | |||
| id="paramUV" | UV | |||
| Value used to generate noise. The same entry value always generate the same noise value. Only visible if the respective input port is not connected. | |||
| 0,0 | |||
|- | |||
| id="paramScale" | Scale | |||
| Value to scale the input given over the UV port. Only visible if the respective input port is not connected. | |||
| 1 | |||
|- | |||
| id="paramType" | Type | |||
| Method used to generate the noise value | |||
*'''Simplex 2D:''' Creates a noise value from a Vector 2 using the Simplex method. | |||
*'''Simplex 3D:''' Creates a noise value from a Vector 3 using the Simplex method. | |||
*'''Gradient:''' Creates a noise value from a Vector 2 using the Gradient method. | |||
*'''Simple:''' Creates simple noise value based on input UV. Similar to Shader Graph [https://docs.unity3d.com/Packages/com.unity.shadergraph@12.0/manual/Simple-Noise-Node.html Simple Noise Node]. | |||
| Simplex 2D | |||
|- | |||
| id="param01Range" | 0-1 Range | |||
| Output value is on a [0 1] range if toggled on or on a [-1 1] range if toggled off. | |||
| True | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|- | |||
! style="width: 10%;" | Input Port !! Description !! style="width: 10%;" | Type | |||
|- | |||
| UV | |||
| Value used to generate noise. The same entry value always generate the same noise value. | |||
| Float2/3 | |||
|- | |||
| Scale | |||
| Value to scale the input given over the UV port. | |||
| Float | |||
|} | |||
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]] | |||
[[Category:Nodes]][[Category:Miscellaneous]] |
Revision as of 13:50, 26 August 2021
Noise Generator Node
The Noise Generator node creates a Float noise value on a [-1 1] range using the method specified by Type according to a value specified at UV.
NOTE: Input data must vary across the the geometry since equal values will generate the same noise. A simply way to achieve this is to connect a Texture Coordinates node into its input.
Nodes used:
Vector2,
Texture Coordinate,
Noise Generator,
Float
Node Parameter | Description | Default Value |
---|---|---|
UV | Value used to generate noise. The same entry value always generate the same noise value. Only visible if the respective input port is not connected. | 0,0 |
Scale | Value to scale the input given over the UV port. Only visible if the respective input port is not connected. | 1 |
Type | Method used to generate the noise value
|
Simplex 2D |
0-1 Range | Output value is on a [0 1] range if toggled on or on a [-1 1] range if toggled off. | True |
Input Port | Description | Type |
---|---|---|
UV | Value used to generate noise. The same entry value always generate the same noise value. | Float2/3 |
Scale | Value to scale the input given over the UV port. | Float |