m Fix error, source table has 100 Kelvin granularity, not 1000 |
m YoshBot moved page ProtoFlux:Black Body Color to ProtoFlux:BlackBodyColor: Automated: removing spaces from ProtoFlux namespace |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":"Temperature", "Type":" | {"Name":"Temperature", "Type":"float"} | ||
] | ] | ||
|Outputs= | |Outputs= |
Latest revision as of 23:41, 20 August 2025
Black Body Color
Colors
Black Body Color 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 100 Kelvin, the node interpolates linearly between the closest two values.
Inputs
Temperature (Float)
The temperature, in Kelvin, to calculate the resulting color for.
Outputs
* (Color)
The color value of the given color temperature.
-
How to use Black Body Color to specify the color temperature of a light source.