Files
filament/tools/specular-color
..
2018-08-03 10:38:22 -07:00
2019-02-07 09:23:07 -08:00
2018-08-27 08:50:35 -07:00
2018-08-03 10:38:22 -07:00

specular-color

specular-color computes the base color of conductors based on spectral data. The base color is output in linear and sRGB formats.

Usage

$ specular-color <spectral data file>

The spectral data files can be obtained from Refractive Index.

For instance, to compute the base color of gold:

$ specular-color data/gold.txt