Page MenuHome

Geometry Nodes: Support accessing vertex colors.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Feb 17 2021, 6:32 PM.

Details

Summary

This makes vertex colors available in geometry similar to how uvs are available. Vertex colors are stored per corner.

Ref T84297.

Diff Detail

Repository
rB Blender

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Feb 17 2021, 6:32 PM
Jacques Lucke (JacquesLucke) created this revision.

I couldn't spot any issues reading over the code, and it worked in a basic test, so looks good as far as I'm concerned!

This pushes the limits of our attribute math nodes though, makes me think we should have structured them differently (data type choice leads to a set of supported operations like we talked about the other day). That's unrelated though!

source/blender/blenkernel/intern/attribute_access.cc
1022

can be used -> is used

This revision is now accepted and ready to land.Feb 17 2021, 7:58 PM

This pushes the limits of our attribute math nodes though, makes me think we should have structured them differently (data type choice leads to a set of supported operations like we talked about the other day). That's unrelated though!

On the topic also see T68734.