MaterialX: split standard_surface into basic nodes #26

Merged
Bogdan Nagirniak merged 11 commits from matx-principlebsdf-split into matx-export-material 2023-09-21 10:58:14 +02:00
Showing only changes of commit 2c67395a10 - Show all commits

View File

@ -466,11 +466,9 @@ NODE_SHADER_MATERIALX_BEGIN
NodeItem n_coat_affected_transmission_roughness = create_node( NodeItem n_coat_affected_transmission_roughness = create_node(
"mix", "mix",
NodeItem::Type::Float, NodeItem::Type::Float,
{ {{"fg", val(1.0f)},
{"fg", val(1.0f)},
{"bg", (roughness + roughness).clamp(0.0f, 1.0f)}, {"bg", (roughness + roughness).clamp(0.0f, 1.0f)},
{"mix", n_coat_affect_roughness_multiply2}, {"mix", n_coat_affect_roughness_multiply2}});
});
NodeItem n_transmission_roughness = create_node( NodeItem n_transmission_roughness = create_node(
"roughness_anisotropy", "roughness_anisotropy",