MaterialX: add color nodes #17

Merged
Bogdan Nagirniak merged 10 commits from matx-add-color-nodes into matx-export-material 2023-09-11 18:57:06 +02:00
Showing only changes of commit 8043a1d45e - Show all commits

View File

@ -6,16 +6,16 @@
namespace blender::nodes::materialx { namespace blender::nodes::materialx {
NodeItem CurvesFloatNodeParser::compute()
{
/* TODO: implement */
return get_input_value("Value", NodeItem::Type::Float);
}
NodeItem CurvesRGBNodeParser::compute() NodeItem CurvesRGBNodeParser::compute()
{ {
/* TODO: implement */ /* TODO: implement */
return get_input_value("Color", NodeItem::Type::Color4); return get_input_value("Color", NodeItem::Type::Color4);
} }
NodeItem CurvesFloatNodeParser::compute()
{
/* TODO: implement */
return get_input_value("Value", NodeItem::Type::Float);
}
} // namespace blender::nodes::materialx } // namespace blender::nodes::materialx