Nodes/ComfyUI-BrainDead/BD Sample Voxelgrid PBR
ComfyUI Node

BD Sample Voxelgrid PBR

Sample full PBR (color, metallic, roughness) from TRELLIS2 voxelgrid. Modes: - face (CORNER): 1 solid color per face, NO bleeding. Works with BD_BlenderEdgeMarking. Splits vertices. - sharp (POINT/k=1): Per-vertex nearest neighbor. Colors shared at edges - edge marking won't detect boundaries. - smooth (POINT/k=4): Per-vertex blended. Smooth gradients - edge marking won't detect boundaries.

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD Sample Voxelgrid PBR
  • mesh
  • voxelgrid
  • mesh
  • metallic_json
  • roughness_json
  • status
sampling_modeface
default_color0.5,0.5,0.5,1.0
default_metallic0.00
default_roughness0.50
distance_threshold3.0
Category🧠BrainDead/Mesh

Inputs (7)

NameTypeDefaultDescription
meshTRIMESH
voxelgridVOXELGRID
sampling_modeoptCOMBOfaceface=CORNER domain (edge marking works) | sharp=POINT k=1 | smooth=POINT k=4 blended
default_coloroptSTRING0.5,0.5,0.5,1.0
default_metallicoptFLOAT0.000–1
default_roughnessoptFLOAT0.500–1
distance_thresholdoptFLOAT3.01–10Max voxels distance before using default values

Outputs (4)

NameTypeDescription
meshTRIMESH
metallic_jsonSTRING
roughness_jsonSTRING
statusSTRING