Skip to content

LuxRender Textures Spectrum

Jason Brenneman edited this page Sep 30, 2023 · 2 revisions

Spectrum Textures

The color of a light source or object depends on the wavelength of the light, or the combination of wavelengths at which a light source emits light. Although most light sources emit light at a continuous range of frequencies and our eyes are sensitive to a number of different frequencies, we still perceive the light as if it had a single frequency. This means multiple different spectral characteristics can result in the same color sensation.

When light sources illuminate surfaces, the resulting perceived color depends on the spectral distribution of both the light source and the surface. Because spectral characteristics can not be represented in an RGB image, LuxRender provides a number of additional ways to specify the spectrum of light sources.

Blackbody

By indicating a color temperature, LuxRender will use the spectral distribution of a Blackbody. This is useful for for example light bulbs (2800-3300K), candles (1850K) and the sun (5000-6500K).

Colour_temperature

A range of color temperatures. The middle lamp has a color temperature of 6500K.

Equalenergy

This experimental spectrum uses a sine wave. Its practical use is limited.

Frequency

This experimental spectrum uses a sine wave. Its practical use is limited.

Gaussian Spectrum

The Gaussian spectrum uses a Gaussian distribution. It is defined by a frequency (in nanometers) and the standard deviation of the bell curve. The latter controls the width of the curve; low values result in saturated colors while higher values result in less saturated tones. There is also an "energy" value which will determine how much of the incoming energy is reflected/transmitted/emitted.

So in a sense, this is a fancy HSV color selector, where wavelength = hue, width = saturation, and energy = value. The Gaussian texture is generally the most useful spectrum texture for defining arbitrary light colors.

Gaussian_spectrum

Lamps emitting light around 589nm, with increasingly wide spectrum.

Color Depth

Color depth, also known as color at depth, is a texture designed to make setting absorption simpler. Normally, you set absorption by defining the color that will be absorbed, resulting in a color control that is essentially "backwards". This texture allows you to instead set the desired result color and how far the light should penetrate before reaching that color.

Parameters

  • Transmission color - The target color of the transmitted light as it reaches the defined depth.
  • Depth - The depth at which the specified transmission color is reached.

Regular Data

This generates a spectrum using numerical data as input. A frequency range should be provided plus a number of values for emissions at regular frequency intervals within that range.

Irregular Data

This generates a spectrum using numerical data as input. A set of wavelengths and their respective emission power should be provided.

Lampspectrum

Lampspectrum uses presets to load measured spectral data for various kinds of lamps.

Overview_lampspectra_old_Version

The whole set of Lampspectra.

Examples

The color stripes are taken from the Gaussian wavelength (left to right): 380, 414, 448, 482, 516, 550, 584, 618, 652 and 686.

Lampspectrum_01-01

Natural Daylight.

Lampspectrum_02-01

Paraffin Candle Flame.

Lampspectrum_05-03

SOX Low Pressure Sodium Discharge Lamp.

Lampspectrum_07-01

Regular High Brightness Blue LED.

Lampspectrum_13-01

Sylvania [G8T5 8W] Germicidal Lamp.

Clone this wiki locally