Cycles / OSL:
[blender.git] / release / scripts / templates_osl / westin_closure.osl
1
2 shader node_westin_bsdf(
3         color Color = 0.8,
4         float Roughness = 0.5,
5         float Edginess = 0.2,
6         normal Normal = N,
7         output closure color Sheen = 0,
8         output closure color Backscatter = 0)
9 {
10         Sheen = Color * westin_sheen(Normal, Roughness);
11         Backscatter = Color * westin_backscatter(Normal, Edginess);
12 }