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

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

shader node_westin_bsdf(
	color Color = 0.8,
	float Roughness = 0.5,
	float Edginess = 0.2,
	normal Normal = N,
	output closure color Sheen = 0,
	output closure color Backscatter = 0)
{
	Sheen = Color * westin_sheen(Normal, Roughness);
	Backscatter = Color * westin_backscatter(Normal, Edginess);
}