Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity temperature to colour

// if you want to colour an object due to its temperature

Mathf.CorrelatedColorTemperatureToRGB(float Kelvin); // 1000 - 40000K
 
PREVIOUS NEXT
Tagged: #unity #temperature #colour
ADD COMMENT
Topic
Name
7+4 =