2
$\begingroup$

I would like to export a gltf file using a specific vertex color channel name "Color_Id". Does anyone know how I could make sure this channel is exported while other vertex color channels exist in my blend file?

$\endgroup$
5
  • $\begingroup$ Try clicking the little camera next to its name in the Color Attribute panel in the Properties editor. Then export. $\endgroup$
    – scurest
    Jan 7 at 21:02
  • 1
    $\begingroup$ (In bpy, that's setting the mesh.color_attributes.render_color_index.) $\endgroup$
    – scurest
    Jan 7 at 21:21
  • $\begingroup$ Thank you. Is there an official answer that can be posted to mark this as closed? $\endgroup$
    – Zak Nelson
    Jan 7 at 21:53
  • $\begingroup$ @scurest Is it not possible to export multiple vertex color to gltf? $\endgroup$
    – Zak Nelson
    Jan 10 at 5:11
  • $\begingroup$ Try turning on "Attributes". $\endgroup$
    – scurest
    Jan 10 at 15:04

1 Answer 1

2
$\begingroup$

I can confirm clicking the little camera next too the color attribute panel or using bpy's mesh.color_attributes.render_color_index exports with the desired Vertex color. Thanks to scurest for the information.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .