Nodes/comfy-ui-minecraft-pbr/Minecraft PBR - Derive AO + Height
ComfyUI Node

Minecraft PBR - Derive AO + Height

Approximate AO (from normal divergence) and a height map (Frankot-Chellappa integration) from a normal map.

By jasonjgardner·Created 3 months ago·Updated 3 months ago· 0
Minecraft PBR - Derive AO + Height
  • normal
  • height_mask
  • ao
  • height
seamlessfalse
ao_strength2.0
ao_blur5
height_intensity1.00
height_min0.25
height_inverttrue
CategoryMinecraft PBR

Inputs (8)

NameTypeDefaultDescription
normalIMAGETangent-space normal map (OpenGL Y-up).
seamlessBOOLEANfalseTreat the input as tileable.
ao_strengthFLOAT2.00–10
ao_blurINT50–64
height_intensityFLOAT1.000–1
height_minFLOAT0.250–1Deepest POM value; 0.25 = 25% block depth for Minecraft.
height_invertBOOLEANtrueFlip POM direction so bumps rise.
height_maskoptMASKWhere 1, flatten height to height_min.

Outputs (2)

NameTypeDescription
aoMASK
heightMASK