Nodes/comfy-ui-minecraft-pbr/Minecraft PBR - Pack labPBR
ComfyUI Node

Minecraft PBR - Pack labPBR

Assemble albedo, specular (_s: smoothness/F0/porosity-SSS/emission) and normal (_n: XY/AO/height) RGBA textures for labPBR 1.3 shaders.

By jasonjgardner·Created 3 months ago·Updated 3 months ago· 0
Minecraft PBR - Pack labPBR
  • basecolor
  • normal
  • roughness
  • metalness
  • ao
  • height
  • emission
  • porosity
  • sss
  • metal_mask
  • height_mask
  • albedo
  • specular
  • normal
hardcoded_metalnone
flip_normal_ytrue
swap_normal_xyfalse
derive_ao_heighttrue
include_heighttrue
seamlessfalse
compute_porosityfalse
compute_sssfalse
compute_emissionfalse
emission_threshold0.85
emission_knee0.10
ao_strength2.0
ao_blur5
height_intensity1.00
height_inverttrue
CategoryMinecraft PBR

Inputs (26)

NameTypeDefaultDescription
basecolorIMAGE
normalIMAGETangent-space normal (OpenGL Y-up).
roughnessIMAGE,MASK
metalnessIMAGE,MASK
hardcoded_metalCOMBOnoneMetal id for metallic pixels; 'none' uses custom (255).
flip_normal_yBOOLEANtruelabPBR _n stores DirectX Y-down; flip an OpenGL Y-up normal (default). Disable only if your input is already DirectX.
swap_normal_xyBOOLEANfalse
derive_ao_heightBOOLEANtrueDerive AO + height from the normal when not supplied.
include_heightBOOLEANtrueWrite derived height into _n alpha (POM).
seamlessBOOLEANfalse
compute_porosityBOOLEANfalse
compute_sssBOOLEANfalse
compute_emissionBOOLEANfalse
emission_thresholdFLOAT0.850–1
emission_kneeFLOAT0.100–1
ao_strengthFLOAT2.00–10
ao_blurINT50–64
height_intensityFLOAT1.000–1
height_invertBOOLEANtrue
aooptIMAGE,MASKOverride derived AO.
heightoptIMAGE,MASKOverride derived height (e.g. Chord 'Normal to Height' IMAGE).
emissionoptIMAGE,MASKOverride extracted emission.
porosityoptIMAGE,MASK
sssoptIMAGE,MASK
metal_maskoptIMAGE,MASKPer-pixel metal-id map (from Pack Metal Masks); overrides hardcoded_metal/metalness on painted pixels.
height_maskoptMASKWhere 1, flatten POM height.

Outputs (3)

NameTypeDescription
albedoIMAGE
specularIMAGE
normalIMAGE