diff options
author | Hans Goudey <h.goudey@me.com> | 2021-09-15 18:51:52 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-09-15 18:51:52 +0300 |
commit | 09f14b38f2d0c22b396dcd6c15bf959631ed1bfd (patch) | |
tree | c79b55863287f79a3336eb607293946b4de825bf /source/blender/blenlib/tests/BLI_span_test.cc | |
parent | 5841f8656d9580d7b967d477b142f19364ec39b5 (diff) |
Geometry Nodes: Add fields version of material nodes
This commit moves the old material nodes to a "legacy" folder and adds
versions of the nodes that work with fields.
The "Select by Material" node is a field node now, so it doesn't have
a geometry output. This is an improvement because there are fewer links
to connect, and it's more easily usable in different situations.
It's also called "Material Selection", since it's more of an input
than an action now.
It's sometimes necessary to use the attribute capture node to get a
more predictable interpolation to mesh faces. This is because the
selection field input is always evaluated on the face domain, so
attribute inputs are interpolated before they are booleans, so they
cannot use the new interpolations from rB5841f8656d9580d7b9.
Differential Revision: https://developer.blender.org/D12456
Diffstat (limited to 'source/blender/blenlib/tests/BLI_span_test.cc')
0 files changed, 0 insertions, 0 deletions