forked from bartvdbraak/blender
12 lines
299 B
Plaintext
12 lines
299 B
Plaintext
|
|
||
|
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);
|
||
|
}
|