Skip to main content
PaintMesh takes a 3D mesh and a voxel color field. It assigns each vertex the color of the nearest voxel in the field and returns the mesh with those vertex colors applied. If the voxel field is empty, the mesh is painted with default zero (black) vertex colors.

Inputs

Note: When the voxel field coordinates include a batch index channel and the input mesh contains multiple mesh items, the node applies the colors separately to each mesh item in the batch. If a given mesh item has no matching voxels, it receives default zero (black) vertex colors. The sampled colors are converted from sRGB to linear RGB for the output mesh, since the voxel field may carry full PBR data but only the base color RGB is used for vertex colors.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 55683bef55b18487ba660fe619d6ec176f786de346be12724751b71901c14116