Unity Products:Amplify Shader Editor/Global Array and Unity Products:Amplify Shader Editor/HD Emission: Difference between pages

From Amplify Creations Wiki
(Difference between pages)
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
Line 1: Line 1:
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]


== Global Array Node ==
== HD Emission Node ==


The Global Array node creates and accesses a global array. Array's type, size and name can be configured via its [[#paramType|Type]], [[#paramArrayLength|Array Length]] and [[#paramName|Name]] respective options.
The HD Emission node calculates a emission HDR Color according to what is set over is inputs.
<br/>'''NOTE:''' This is a HDRP specific node.
 
<img class="responsive-img" src="http://wiki.amplify.pt/images/Nodes/HDEmission.jpg">


<img class="responsive-img" src="http://wiki.amplify.pt/images/Nodes/GlobalArray.jpg">


{| class="wikitable" style="width: 100%;"
{| class="wikitable" style="width: 100%;"
Line 11: Line 13:
! style="width: 10%;" | Node Parameter !! Description !! style="width: 10%;" | Default Value
! style="width: 10%;" | Node Parameter !! Description !! style="width: 10%;" | Default Value
|-
|-
| id="paramMode" | Mode
| id="paramIntensityUnit" | Intensity Unit
| Defines if the current creates the array or reference an already created array over other node.
| Type of physical light units to control the strength of the emission.
* '''Object:''' Create and access a global array with the specified setup
*'''Luminance'''  
* '''Reference:''' Access a global array created on another node
*'''EV100'''  
| Object
| Luminance
|-
|- style="background: #e5e5e5;" |
| id="paramReference" | Reference
| Global Array node which creates the global array we want to use.
| <None>
|-
| id="paramName" | Name
| Name of the global array to be created/accessed.
| MyGlobalArray
|-
| id="paramAutoRegisterMode" | Auto-Register
| If toggled on, creates the property and/or global variable even if not connected to an Output node
| Off
|-
| id="paramIsJagged" | Is Jagged
| If toggled on, creates a multi-dimensional array/array of arrays.
| Off
|-
|- style="background: #e5e5e5;" |
| id="paramIndex" | Index
| Position on the array to be accessed. Only visible if the respective input port is not connected.
| 0
|-
|- style="background: #e5e5e5;" |
|id="paramArrayLength" | ArrayLength 
| Length of the array to be created. Only visible if the respective input port is not connected.
| 1
|-
|- style="background: #e5e5e5;" |
| id="paramIndexX" | Index X
| Position on the first index to be accessed, only shown on jagged array. Only visible if the respective input port is not connected.
| 0
|-
|- style="background: #e5e5e5;" |
| id="paramIndexY" | Index Y
| Position on the second index to be accessed, only shown on jagged array. Only visible if the respective input port is not connected.
| 0
|-
|- style="background: #e5e5e5;" |
| id="paramLengthX" | Array Length X
| Length, dimension of the first array to be created, only shown on jagged array. Only visible if the respective input port is not connected.
| 1
|-
|- style="background: #e5e5e5;" |
| id="paramLengthY" | Array Length Y
| Length, dimension of the second array (array of the array) to be created, only shown on jagged array. Only visible if the respective input port is not connected.
| 1
|-
|-
|id="paramType" | Type
| id="paramNormalizeColor" | Normalize Color
| Type of data the array will contain.
| Normalizes the LDR input color before calculating the final HD Emission value ( pre-multiplies it by the reciprocal value of the calculated luminance )
*'''Float:''' Float data type
*'''Color:'''  Float4 data type
*'''Vector4:''' Float4 data type
*'''Matrix4x4:''' Float4x4 data type
| Float
|-
|id="paramRange" | Range Check
| if toggled on, adds additional clamp instruction to prevent out of bounds access to the array.
| False
| False
|}
|}


{| class="wikitable" style="width: 100%;"
{| class="wikitable" style="width: 100%;"
Line 82: Line 28:
! style="width: 10%;" | Input Port !! Description !! style="width: 10%;" | Type
! style="width: 10%;" | Input Port !! Description !! style="width: 10%;" | Type
|-  
|-  
| Index
| Color
|Position on the array to be accessed.
| LDR color value for the emission
| Int
| Float3
|-  
|-  
| Array Length
| Intensity
| Length of the array to be created.
| Intensity of the final color
| Int
| Float
|-  
|-  
| Index X
| Exposition Weight
|Position on the first index to be accessed, only shown on jagged array.
| Value between 0 and 1 to set how exposure affects emission ( 0 exposure does not effect emission and 1 fully affects emission ).
| Int
| Float
|-
| Index Y
|Position on the second index to be accessed, only shown on jagged array.
| Int
|-
| Array Length X
|Length, dimension of the first array to be created, only shown on jagged array.
| Int
|-
| Array Length Y
|Length, dimension of the second array (array of the array) to be created, only shown on jagged array.  
| Int
|}
|}


[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]
[[Category:Nodes]][[Category:Constants And Properties]]
[[Category:Nodes]][[Category:Miscellaneous]]

Latest revision as of 00:06, 2 December 2023

Back to Node List

HD Emission Node

The HD Emission node calculates a emission HDR Color according to what is set over is inputs.
NOTE: This is a HDRP specific node.


Node Parameter Description Default Value
Intensity Unit Type of physical light units to control the strength of the emission.
  • Luminance
  • EV100
Luminance
Normalize Color Normalizes the LDR input color before calculating the final HD Emission value ( pre-multiplies it by the reciprocal value of the calculated luminance ) False
Input Port Description Type
Color LDR color value for the emission Float3
Intensity Intensity of the final color Float
Exposition Weight Value between 0 and 1 to set how exposure affects emission ( 0 exposure does not effect emission and 1 fully affects emission ). Float


Back to Node List