Cycles / OSL:
[blender.git] / release / scripts / templates_osl / wavelength_to_rgb.osl
1
2 shader wavelength_to_rgb(
3         float Wavelength = 500.0,
4         output color Color = 0.8)
5 {   
6         /* Wavelength to RGB */
7         Color = wavelength_color(Wavelength);
8 }
9