Skip to content
View byValle's full-sized avatar

Sponsoring

@gkjohnson
Block or Report

Block or report byValle

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. 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
    2
    int Temperature = 6500;
    3
    
                  
    4
    //Temperature divided by 100 for calculations
    5
    float KtoRGB_Temperature = Temperature / 100;