forked from blender/blender
MaterialX: code improvements shader modes. #35
@ -58,10 +58,9 @@ NODE_SHADER_MATERIALX_BEGIN
|
|||||||
NodeItem roughness = get_input_value("Roughness", NodeItem::Type::Float);
|
NodeItem roughness = get_input_value("Roughness", NodeItem::Type::Float);
|
||||||
NodeItem normal = get_input_link("Normal", NodeItem::Type::Vector3);
|
NodeItem normal = get_input_link("Normal", NodeItem::Type::Vector3);
|
||||||
|
|
||||||
return create_node(
|
return create_node("sheen_bsdf",
|
||||||
"sheen_bsdf",
|
|
||||||
NodeItem::Type::BSDF,
|
NodeItem::Type::BSDF,
|
||||||
{{"color", color}, {"weight", roughness}, {"roughness", roughness}, {"normal", normal}});
|
{{"color", color}, {"roughness", roughness}, {"normal", normal}});
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
NODE_SHADER_MATERIALX_END
|
NODE_SHADER_MATERIALX_END
|
||||||
|
Loading…
Reference in New Issue
Block a user