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

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

shader node_toon_bsdf(
	color Color = 0.8,
	float Size = 0.5,
	float Smooth = 0.0,
	normal Normal = N,
	output closure color Diffuse = 0,
	output closure color Specular = 0)
{
	Diffuse = Color * diffuse_toon(Normal, Size, Smooth);
	Specular = Color * specular_toon(Normal, Size, Smooth);
}