forked from blender/blender
MaterialX: add color nodes #17
No reviewers
Labels
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: DagerD/blender#17
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "matx-add-color-nodes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
Add support for Color nodes
Technical steps
Added:
Partially implemented:
Not implemented:
@ -0,0 +8,4 @@
NodeItem GammaNodeParser::compute()
{
NodeItem color = get_input_value("Color", NodeItem::Type::Color3);
Color4 ?
@ -0,0 +13,4 @@
NodeItem res = create_node("power", NodeItem::Type::Color3);
res.set_input("in1", color);
res.set_input("in2", gamma);
color ^ gamma