starColor

function starColor
lod.ts:150
starColor(temperature: number) → { b: number; g: number; r: number }

The catalog and the resolved disk use the same linear-light temperature.

The catalog keeps negative channels so out-of-gamut light survives to the encoder; a key light cannot go negative, or a cool primary lights its planets with less than no blue.

temperaturenumber
Undocumented
Returns{ b: number; g: number; r: number }