Unity Products:Amplify Shader Editor/Linear To Gamma

From Amplify Creations Wiki
Revision as of 00:06, 2 December 2023 by AmplifyWiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to Node List

Linear To Gamma Node

The Linear to Gamma node converts a color value in Linear space to sRGB(Gamma) space.
Through toggling On/Off the Exact Conversion property, its outputted result can be calculated by either using an exact conversion method or using a faster but less accurate approximation.


Nodes used: Texture Sample, Linear To Gamma,

Node Parameter Description Default Value
RGB Color value to be converted from Linear to sRGB(Gamma) space. Only visible if the respective input port is not connected. 0,0,0
Mode Switch between accurate color conversion method or faster but less accurate color conversion method.
  • Fast Linear to sRGB: Fast approximation from Linear to sRGB
  • Exact Linear to sRGB: A more expensive but exact calculation from Linear to sRGB
  • Linear to Gamma 2.0: Crude approximation from Linear to Gamma using a power of 1/2.0 gamma value
  • Linear to Gamma 2.2: An approximation from Linear to Gamma using a power of 1/2.2 gamma value
Fast Linear to sRGB


Input Port Description Type
RGB Color value to be converted from Linear to sRGB(Gamma) space. Float3


Back to Node List