Page MenuHome

Vertex color baking with Cycles
Closed, ResolvedPublicTO DO

Authored By
Dalai Felinto (dfelinto)
Aug 20 2019, 9:33 PM
"Love" token, awarded by silex."Love" token, awarded by 1D_Inc."Love" token, awarded by kenziemac130."Love" token, awarded by Schamph."Burninate" token, awarded by Antti."Burninate" token, awarded by TMug."Love" token, awarded by mindinsomnia."Burninate" token, awarded by Taros."Love" token, awarded by lordodin."Love" token, awarded by bnzs.

Event Timeline

Dalai Felinto (dfelinto) lowered the priority of this task from 90 to Normal.Aug 20 2019, 9:33 PM
Dalai Felinto (dfelinto) created this task.

I've been trying to figure this out for a little while. I've been writing down my thoughts on the task in my devtalk post. Brecht has helped me with this, too. It seems pretty straightforward, and it looks like it won't involve any changes to Cycles at all, but rather to Blender. This would also mean vertex color baking in other engines that support baking, if I understand the code correctly. I haven't made much progress on the problem myself, I'm kinda waiting to see what the multi-res baking code will be as multi-res is refactored this year.

The biggest design problem to me is, how to handle objects that have generative modifiers? Pure deforming modifiers are easy enough to handle, since the vertex indices do not change, but generative modifiers add new vertices, take some away, change things around... should vertex color baking not be supported in these cases? Is there a way to save vertex color for the final, evaluated data instead of the actual mesh data? How complete should this feature be before it's in the master?

Brecht Van Lommel (brecht) triaged this task as Low priority.Jun 18 2020, 6:37 PM
Teemu (TMug) added a comment.EditedNov 16 2020, 1:27 PM

Hopefully the next iteration of baking into the vertex colors supports all vertex color channels: RGBA. Vertex colors are often used to store data for game engines. Being able to bake ambient occlusion (or anything the user has in the material) into the alpha channel would be more than helpful.