Author Topic: Color Temperature to RGB OSL Shader  (Read 2723 times)

2022-04-06, 01:33:28

Mohammadreza Mohseni

  • Active Users
  • **
  • Posts: 152
    • View Profile
    • Instagram
Here is two of my OSL shaders for converting Color Temperature in Kelvin to RGB color (in both linear and sRGB).

One of the shaders is based on original version of Tanner Helland algorithm and the other one is based on improved version of it by Neil Bartlett.

The improved version is quite accurate by my comparison with raw data color provided by  Mitchell Charity

These two shaders originally intended for 3ds Max and work with Corona and V-Ray and other engines that support native 3ds Max OSL Map but they might work blender as well. (maybe with a little bit of modification)

Consider following me on Instagram
https://www.instagram.com/mohseni.mr/

Download link:
https://mohseni.gumroad.com/

« Last Edit: 2022-04-06, 02:05:58 by Mohammadreza Mohseni »