Welcome to mirror list, hosted at ThFree Co, Russian Federation.

temperature_to_rgb.osl « templates_osl « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6b91416c6093d6cc59b7fdf14dfd2ea2e6d037d1 (plain)
1
2
3
4
5
6
7
8
9

shader temperature_to_rgb(
	float Kelvin = 1200.0,
	output color Color = 0.8)
{   
	/* Kelvin to RGB */
	Color = blackbody(Kelvin);
}