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 (it is free):
https://mohseni.gumroad.com/
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 (it is free):
https://mohseni.gumroad.com/