byValle
Follow
Pinned Loading
-
RGB color from light K temperature -...
RGB color from light K temperature - Port to C++ for Unreal Engine of https://tannerhelland.com/2012/09/18/convert-temperature-rgb-algorithm-code.html 1//Temperature input in Kelvin valid in the range 1000 K to 40000 K. White light = 6500K
2int Temperature = 6500;
34//Temperature divided by 100 for calculations
5float KtoRGB_Temperature = Temperature / 100;
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.