Light Temperature

FREE
Publisher Muka Schultze
File size 12.56kB
Number of files 3
Latest version 1.0.1
Latest release date 2016-09-21 11:51:28
First release date 2016-08-24 05:47:23
Supported Unity versions 2018.4.2 or higher
Simple helper for setting light colors based on temperature, useful for creating different moods for scenes, more realistic light behaviours and day/night cycles

The script contains a simple algorithm that transforms a given Kelvin temperature into RGB color, it was originaly provided by Tanner Helland and I adapted it for c#

How to use: Just select your light source and Add Component > Scritps > LightTemperature, if you don't have any light sources, go to GameObject > Light > Temperature Light, then tweak it to best fit your scene

Top Publisher Assets