ComfyUI Node
BD Bake Vertex Colors From Texture
Sample a texture through a mesh's UVs into per-vertex colors (COLOR_0). Runs on ANY UV'd mesh. If no texture is wired, uses the mesh's own baseColorTexture. Keeps the UV + baked material intact (additive), so the mesh ends up carrying both the texture and matching vertex colors. Wire the result into BD Export Mesh to get a glb with texture + COLOR_0.
BD Bake Vertex Colors From Texture
- mesh
- texture
- mesh
- status
◄samplingbilinear►
Category🧠BrainDead/Mesh
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| mesh | TRIMESH | — | |
| textureopt | IMAGE | Diffuse/atlas to sample (e.g. BD_OVoxelBake 'diffuse'). If omitted, the mesh's own baseColorTexture is used. | |
| samplingopt | COMBO | bilinear | Bilinear is smoother; nearest is exact texel. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| mesh | TRIMESH | — |
| status | STRING | — |