Unity Products:Amplify Shader Editor/Gradient Sample and Unity Products:Amplify Shader Editor/HD Emission: Difference between pages

From Amplify Creations Wiki
(Difference between pages)
Jump to navigation Jump to search
ampwiki>Amplify RnD Rick
No edit summary
 
ampwiki>Amplify RnD Rick
No edit summary
 
Line 1: Line 1:
== Gradient Sample Node ==
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]


The Gradient Sample Node samples a color given by a [[Unity_Products:Amplify_Shader_Editor/Gradient|Gradient]] node on a given Time.
== HD Emission Node ==


<img class="responsive-img" src="http://wiki.amplify.pt/images/NodeDetail/GradientSampleNode.jpg">
The HD Emission node calculates a emission HDR Color according to what is set over is inputs.
<br/><font size="1">Nodes used:
<br/>'''NOTE:''' This is a HDRP specific node.
[[Unity_Products:Amplify_Shader_Editor/Gradient|Gradient]],
 
[[Unity_Products:Amplify_Shader_Editor/Texture_Coordinates|Texture Coordinates]],
<img class="responsive-img" src="http://wiki.amplify.pt/images/Nodes/HDEmission.jpg">
[[Unity_Products:Amplify_Shader_Editor/Gradient_Sample|Gradient Sample]]
</font>




{| class="wikitable" style="width: 100%;"
{| class="wikitable" style="width: 100%;"
|-  
|-
! style="width: 10%;" | Input Port !! Description !! style="width: 10%;" | Type
! style="width: 10%;" | Node Parameter !! Description !! style="width: 10%;" | Default Value
|-  
|-
| Value
| id="paramIntensityUnit" | Intensity Unit
| Gradient object to be sampled.
| Type of physical light units to control the strength of the emission.
| Object
*'''Luminance'''
|-  
*'''EV100'''
| Time
| Luminance
| Point in time to sample gradient.
|-
| Float
| id="paramNormalizeColor" | 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
|}
|}


{| class="wikitable" style="width: 100%;"
{| class="wikitable" style="width: 100%;"
|-  
|-  
! style="width: 10%;" | Output Port !! Description !! style="width: 10%;" | Type
! style="width: 10%;" | Input Port !! Description !! style="width: 10%;" | Type
|-
| RGBA
| Returns the full RGBA color of the sampled gradient.
| Float4
|-
| R
| Returns only the R component of the color value which corresponds to the X component of a Vector4
| Float
|-  
|-  
| G
| Color
| Returns only the G component of the color value which corresponds to the Y component of a Vector4
| LDR color value for the emission
| Float
| Float3
|-  
|-  
| B
| Intensity
| Returns only the B component of the color value which corresponds to the Z component of a Vector4
| Intensity of the final color
| Float
| Float
|-  
|-  
| A
| Exposition Weight
| Returns only the A component of the color value which corresponds to the W component of a Vector4
| Value between 0 and 1 to set how exposure affects emission ( 0 exposure does not effect emission and 1 fully affects emission ).
| Float
| Float
|}
|}


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

Revision as of 15:17, 12 January 2022

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