Geometry Nodes: add Attribute Mix node

This node can be used to mix two attributes in various ways.
The blend modes are the same as in the MixRGB shader node.

Differential Revision: https://developer.blender.org/D9737

Ref T82374.
This commit is contained in:
2020-12-11 12:00:48 +01:00
parent 150a1d158a
commit d72ec16e70
10 changed files with 291 additions and 0 deletions

View File

@@ -484,6 +484,7 @@ geometry_node_categories = [
NodeItem("GeometryNodeRandomAttribute"),
NodeItem("GeometryNodeAttributeMath"),
NodeItem("GeometryNodeAttributeFill"),
NodeItem("GeometryNodeAttributeMix"),
]),
GeometryNodeCategory("GEO_COLOR", "Color", items=[
NodeItem("ShaderNodeValToRGB"),