Wiki

Clone wiki

alShaders / alBlackbody

Table of Contents

Overview

alBlackbody creates a plausible color given a temperature using Planck's blackbody spectrum.

Parameters

Temperature
The colour temperature
Strength
Global multiplier on the brightness of the resulting color

Advanced

Physical intensity
At the default value of 1, the shader will calculate the power output of the blackbody according to the Stefan-Boltzmann law. While this gives a pleasing (and realistic) balance between the brightness of different colors, sometimes all you want is the color, without the brightness scaling, in which case you should set this to 0
Physical exposure
Constant to bring the brightness of the color back into a sensible range for rendering at normal scales

Updated