ProtoFlux:Black Body ColorX

From Resonite Wiki
Revision as of 16:57, 25 February 2024 by PJB (talk | contribs) (Created page with " {{#Invoke:ProtoFlux|GenerateUI |Name=Black Body Color X |Category=Colors |Inputs= [ {"Name":"Temperature", "Type":"Float"} ] |Outputs= [ {"Name":"*", "Type":"colorX"} ] |}} Black Body Color X returns a color value of the light emitted by an ideal [https://en.wikipedia.org/wiki/Black-body_radiation black body radiator]. This can be used to calculate appropriate values for various [https://en.wikipedia.org/wiki/Color_temperature color temperatures]. This node can conver...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Black Body Color X
Temperature
*
Colors

Black Body Color X returns a color value of the light emitted by an ideal black body radiator. This can be used to calculate appropriate values for various color temperatures.

This node can convert color values in the range 1000 - 40000 Kelvin. Values outside this range are clamped.

The implementation in Resonite appears to use this table as a source of values. For values more granular than 1000 Kelvin, the node interpolates linearly between the closest two values.

Inputs

Temperature (Float)

The temperature, in Kelvin, to calculate the resulting color for.

Outputs

* (ColorX)

The color value of the given color temperature.