diff options
author | Hans Goudey <h.goudey@me.com> | 2021-02-17 17:30:15 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-17 17:30:15 +0300 |
commit | 53bf04f2844b64cd9f79bedd047eac9690f872e3 (patch) | |
tree | 5f66fbf888ee86ded53ebe3ff6fc4efe098080e6 /source/blender/compositor | |
parent | 37de612104dfae77ad34e3f76e77b3aa277c78fa (diff) |
Geometry Nodes: Expose material index attribute
The `material_index` attribute can adjust which material in the list
will be applied to each face of the mesh. There are two new things
about this attribute that haven't been exposed by the attribute API yet.
Each comes with limitations:
1. Integer data type: Most attribute nodes are currently written to use
float data types. This means that they can't write to this attribute
because they can't change the type of a built-in attribute.
2. Polygon domain: This is our first attribute using the polygon domain,
meaning until some of the interpolations are implemented, some
operations may not work as expected.
Currently the two nodes that work with this attribute are Attribute Fill
and Attribute Randomize.
Differential Revision: https://developer.blender.org/D10444
Diffstat (limited to 'source/blender/compositor')
0 files changed, 0 insertions, 0 deletions