ComfyUI PBR Material Generator
All-in-one AI-free PBR material generator & interactive Three.js 3D Preview Node for ComfyUI.

ComfyUI PBR Material Generator
<div id="top"></div>🌐 Language / Sprache / Langue / Idioma / Язык / 语言:
English |
Deutsch |
Français |
Español |
Русский |
中文
<a id="english"></a>
English
⚡ Ultra-Fast, AI-Free PBR Map Generation & Real-Time 3D Preview
An all-in-one PBR Material Generator & Interactive Three.js 3D Preview Node for ComfyUI. Because no AI models are required, all maps are computed ultra-fast in real time via pure GPU shader math. Generate Albedo (De-Lit Base Color), Depth/Height, Normal (Macro + Micro Detail Mix), Roughness, Metalness, and Multi-Scale Ambient Occlusion maps from a single image—or optionally connect your own custom PBR maps and HDR/EXR environment maps—and inspect, relight, and export the displaced mesh as GLB or OBJ directly inside ComfyUI.
:sparkles: Features
- :zap: Ultra-Fast, AI-Free Full PBR Generation: Computes 6 PBR outputs instantly using pure shader-style GPU math (no AI weights or heavy model downloads required) from a single
IMAGEinput:base_colorwith optional Albedo De-Lighting (delight_strength) to remove baked-in shadows and highlights.depth_mapwith adjustable contrast, smoothness, and depth inversion.normal_mapcombining macro smoothness and high-frequency micro-detail blending (detail_mix) plus OpenGL/DirectX Y-axis flip (invert_normal_y).roughness_mapwith configurable base roughness (roughness_base), contrast, and inversion.metalness_mapvia luminance and chroma thresholding.ao_mapvia multi-scale cavity/horizon occlusion.
- :electric_plug: Optional Custom Map Inputs: Optionally plug in your own external maps (
height_depth,normal_map,roughness_map,metalness_map,ao_map, orenv_map) to inspect them directly inside the 3D viewer. - :package: 10 Built-in 3D Preview Meshes: Switch live between
Plane (Relief),Box,Sphere,Cylinder,Cone,Torus,TorusKnot,Capsule,Dodecahedron, andIcosahedronwith seamless edge-faded displacement. - :bulb: 9 Kelvin Lighting Presets: From
Candle (1900 K)andGallery Warm (3200 K)toDaylight (5500 K),Overcast (7500 K), andGallery Contrast (3000K / 7000K). - :globe_with_meridians: Environment Lighting & UV Tiling: Toggle environment background visibility (
Env BG), adjustEnv Intand real-timeEnv Blur, and test seamless tiling (1x–4x). - 🖼️ Gallery Frame & Solo Map Inspection: Preview with optional dark or bronze shadow-gap frames, wireframe overlay, and solo map views (
Base,Depth,Normal,Roughness,Metalness,AO). - :floppy_disk: 1-Click Baked 3D Export: Export displaced geometry directly to binary
.glb,.obj, or high-res.pngpreview screenshot, or copy material settings via Copy Config. - :white_check_mark: 100% Offline Ready: Bundles Three.js locally (
web/three_bundle.min.js) with zero external CDN requests at runtime.
:wrench: Installation
Option 1: Via ComfyUI Manager (Recommended)
- Open ComfyUI Manager → Custom Nodes Manager.
- Search for
ComfyUI PBR Material Generator(orPBR Material Generator) and click Install. - Restart ComfyUI and refresh your browser (
Ctrl + Shift + R).
Option 2: Manual Installation (Git)
- Navigate to your ComfyUI
custom_nodesdirectory: cd ComfyUI/custom_nodes - Clone this repository: git clone https://github.com/aimpowerment/ComfyUI-PBR-Material-Generator.git
- Restart ComfyUI and refresh your browser (
Ctrl + Shift + R).
:rocket: Usage
- Add the node via Right-Click → Add Node → 3D/Preview →
PBR Material Generator. - Connect any
IMAGEto theimageinput and click Run. - Use the interactive HUD (top-right) to tune displacement depth, normal strength, roughness, metalness, AO, light intensity, environment intensity, and environment blur in real time.
- Use the bottom bar to switch 3D primitives, inspect solo maps, change Kelvin lighting temperatures, toggle UV tiling (
1x–4x), or export your displaced mesh as.glbor.obj.
:scroll: License & Third-Party References
- Code in this repository is licensed under the Apache License 2.0. (attribution required).
- Powered by Three.js (r170) for WebGL 3D rendering, orbit controls, and GLB/OBJ exporters, and fflate (0.8.2) for compression, both licensed under the MIT License. See
THIRD-PARTY-LICENSES.txtfor full license notices.
<a id="deutsch"></a>
Deutsch
⚡ Superschnelle PBR-Generierung ohne KI & Echtzeit-3D-Vorschau
Eine All-in-One-Node für PBR-Material-Generierung & interaktive Three.js 3D-Vorschau in ComfyUI, die komplett ohne KI-Modelle auskommt und alle Maps (Albedo, Depth, Normal, Roughness, Metalness und Ambient Occlusion) per GPU-Shader in Echtzeit berechnet. Das fertige Relief kann direkt als GLB oder OBJ exportiert werden.
:sparkles: Funktionen
- :zap: Superschnelle PBR-Generierung ohne KI: Berechnet 6 PBR-Outputs verzögerungsfrei aus einem einzigen
IMAGE-Eingang (inklusive Albedo De-Lighting, Depth, Normal-Mix, Roughness, Metalness und AO). - :electric_plug: Optionale eigene Maps: Unterstützt das Einbinden eigener externer Maps (
height_depth,normal_map,roughness_map,metalness_map,ao_map,env_map). - :package: 10 integrierte 3D-Objekte: Wechseln Sie live zwischen Plane, Box, Sphere, Cylinder, Cone, Torus, TorusKnot, Capsule, Dodecahedron und Icosahedron.
- :bulb: 9 Kelvin-Lichtprofile & Umgebung: Von Candle (1900 K) über Daylight (5500 K) bis Gallery Contrast, inklusive Live-Hintergrund und UV-Tiling (
1x–4x). - 🖼️ Galerierahmen & Exporte: Bietet Solo-Ansichten, Wireframe-Modus sowie einen 1-Klick-Export als
.glb,.objoder.png-Screenshot. - :white_check_mark: 100 % Offline-fähig: Inklusive lokalem Three.js-Bundle (
web/three_bundle.min.js) ganz ohne externe Laufzeit-Abhängigkeiten.
:wrench: Installation
Option 1: Über den ComfyUI Manager (Empfohlen)
- Öffne den ComfyUI Manager → Custom Nodes Manager.
- Suche nach
ComfyUI PBR Material Generatorund klicke auf Install. - Starte ComfyUI neu und lade den Browser neu (
Strg + Shift + R).
Option 2: Manuelle Installation (Git)
- Wechsle in das Verzeichnis
ComfyUI/custom_nodes. - Klone das Repository:
git clone https://github.com/aimpowerment/ComfyUI-PBR-Material-Generator.git - Starte ComfyUI neu und lade den Browser neu (
Strg + Shift + R).
:rocket: Verwendung
- Füge die Node über Rechtsklick → Add Node → 3D/Preview →
PBR Material Generatorhinzu. - Verbinde ein
IMAGEmit dem Eingang und klicke auf Run. - Passe Parameter wie Tiefe, Normal-Stärke, Roughness oder Lichtprofile direkt im HUD und der unteren Leiste an.
:scroll: Lizenz & Referenzen auf Drittanbieter-Software
- Der Code steht unter der Apache License 2.0.
- Basiert auf Three.js (r170) und fflate (0.8.2) unter der MIT-Lizenz (vollständige Hinweise in
THIRD-PARTY-LICENSES.txt).
<a id="français"></a>
Français
⚡ Génération PBR ultra-rapide sans IA & Aperçu 3D en temps réel
Un nœud tout-en-un Générateur de matériaux PBR et Aperçu 3D interactif Three.js pour ComfyUI. Comme aucun modèle d'IA n'est requis, toutes les cartes sont calculées ultra-rapidement en temps réel par de purs calculs mathématiques GPU de type shader. Générez des cartes Albédo (Base Color dé-éclairée), Profondeur/Hauteur, Normale (Mélange macro + micro-détails), Rugosité, Métallicité et Occlusion ambiante multi-échelle à partir d'une seule image — ou connectez optionnellement vos propres cartes PBR et environnements HDR/EXR — puis inspectez, éclairez et exportez le maillage déplacé au format GLB ou OBJ directement dans ComfyUI.
:sparkles: Fonctionnalités
- :zap: Génération PBR ultra-rapide et 100 % sans IA : Calcule instantanément 6 sorties PBR par calcul mathématique GPU (sans poids d'IA ni téléchargement de modèles lourds) depuis une seule entrée
IMAGE:base_coloravec suppression optionnelle des ombres et reflets intégrés (De-Lighting,delight_strength).depth_mapavec contraste, lissage et inversion réglables.normal_mapcombinant lissage macro, détails fins (detail_mix) et inversion de l'axe Y OpenGL/DirectX (invert_normal_y).roughness_mapavec rugosité de base (roughness_base), contraste et inversion.metalness_mapbasée sur la luminance et la saturation chromatique.ao_mappar occlusion de cavité multi-échelle.
- :electric_plug: Cartes personnalisées optionnelles : Permet de connecter optionnellement vos propres cartes externes (
height_depth,normal_map,roughness_map,metalness_map,ao_mapouenv_map) pour les visualiser directement dans l'aperçu 3D. - :package: 10 objets 3D intégrés : Basculez en direct entre
Plane (Relief),Box,Sphere,Cylinder,Cone,Torus,TorusKnot,Capsule,DodecahedronetIcosahedronavec déplacement progressif sur les bords. - :bulb: 9 préréglages d'éclairage Kelvin : De
Candle (1900 K)etGallery Warm (3200 K)àDaylight (5500 K),Overcast (7500 K)etGallery Contrast (3000K / 7000K). - :globe_with_meridians: Éclairage d'environnement & Répétition UV : Activez/désactivez l'arrière-plan (
Env BG), réglezEnv IntetEnv Bluren temps réel, et testez la répétition (1x–4x). - 🖼️ Cadre de galerie & Inspection individuelle : Aperçu avec cadre sombre ou bronze, mode filaire et vue individuelle des cartes (
Base,Depth,Normal,Roughness,Metalness,AO). - :floppy_disk: Exportation 3D en un clic : Exportez la géométrie déplacée en
.glb,.obj, capture.png, ou copiez la configuration via Copy Config. - :white_check_mark: 100 % hors ligne : Intègre Three.js localement (
web/three_bundle.min.js) sans aucune requête CDN externe.
:wrench: Installation
Option 1 : Via ComfyUI Manager (Recommandé)
- Ouvrez ComfyUI Manager → Custom Nodes Manager.
- Recherchez
ComfyUI PBR Material Generator(ouPBR Material Generator) et cliquez sur Install. - Redémarrez ComfyUI et actualisez votre navigateur (
Ctrl + Shift + R).
Option 2 : Installation manuelle (Git)
- Accédez au dossier
custom_nodesde ComfyUI : cd ComfyUI/custom_nodes - Clonez ce dépôt : git clone https://github.com/aimpowerment/ComfyUI-PBR-Material-Generator.git
- Redémarrez ComfyUI et actualisez votre navigateur (
Ctrl + Shift + R).
:rocket: Utilisation
- Ajoutez le nœud via Clic droit → Add Node → 3D/Preview →
PBR Material Generator. - Connectez une
IMAGEà l'entréeimageet cliquez sur Run. - Utilisez le HUD interactif (en haut à droite) pour ajuster en temps réel la profondeur, l'intensité des normales, la rugosité, la métallicité, l'AO et l'éclairage.
- Utilisez la barre inférieure pour changer d'objet 3D, inspecter les cartes individuellement, modifier la température Kelvin, tester la répétition UV (
1x–4x) ou exporter en.glb/.obj.
:scroll: Licence & Références tierces
- Le code de ce dépôt est sous Apache License 2.0. (mention de l'auteur requise).
- Propulsé par Three.js (r170) pour le rendu 3D WebGL, les contrôles orbitaux et les exportateurs GLB/OBJ, ainsi que fflate (0.8.2) pour la compression (tous deux sous licence MIT). Consultez
THIRD-PARTY-LICENSES.txtpour les mentions complètes.
↑ Haut de page
<a id="español"></a>
Español
⚡ Generación PBR ultrarrápida sin IA y vista previa 3D en tiempo real
Un nodo todo en uno de Generador de Materiales PBR y Vista Previa 3D Interactiva con Three.js para ComfyUI. Dado que no se requieren modelos de IA, todos los mapas se calculan ultrarrápidamente en tiempo real mediante pura matemática de shaders en GPU. Genera mapas de Albedo (Color Base sin iluminación horneada), Profundidad/Altura, Normales (Mezcla macro + microdetalles), Rugosidad, Metalicidad y Oclusión Ambiental multiescala a partir de una sola imagen —o conecta opcionalmente tus propios mapas PBR y entornos HDR/EXR— e inspecciona, ilumina y exporta la malla desplazada como GLB u OBJ directamente dentro de ComfyUI.
:sparkles: Características
- :zap: Generación PBR ultrarrápida y 100 % sin IA: Calcula 6 salidas PBR al instante mediante pura matemática GPU de shaders (sin pesos de IA ni descargas de modelos pesados) desde una sola entrada
IMAGE:base_colorcon eliminación opcional de sombras y brillos (De-Lighting,delight_strength).depth_mapcon contraste, suavizado e inversión ajustables.normal_mapque combina suavizado macro, microdetalles (detail_mix) e inversión del eje Y OpenGL/DirectX (invert_normal_y).roughness_mapcon rugosidad base (roughness_base), contraste e inversión.metalness_mapmediante umbral de luminancia y croma.ao_mapmediante oclusión de cavidades multiescala.
- :electric_plug: Entradas opcionales de mapas personalizados: Permite conectar opcionalmente tus propios mapas externos (
height_depth,normal_map,roughness_map,metalness_map,ao_mapoenv_map) para visualizarlos directamente en el visor 3D. - :package: 10 mallas 3D integradas: Cambia en vivo entre
Plane (Relief),Box,Sphere,Cylinder,Cone,Torus,TorusKnot,Capsule,DodecahedroneIcosahedroncon desplazamiento suavizado en los bordes. - :bulb: 9 perfiles de iluminación Kelvin: Desde
Candle (1900 K)yGallery Warm (3200 K)hastaDaylight (5500 K),Overcast (7500 K)yGallery Contrast (3000K / 7000K). - :globe_with_meridians: Iluminación de entorno y repetición UV: Alterna el fondo (
Env BG), ajustaEnv IntyEnv Bluren tiempo real y prueba el mosaico UV (1x–4x). - 🖼️ Marco de galería e inspección individual: Vista previa con marco oscuro o bronce, malla alámbrica y vista individual (
Base,Depth,Normal,Roughness,Metalness,AO). - :floppy_disk: Exportación 3D en 1 clic: Exporta la geometría desplazada en
.glb,.obj, captura.pngo copia los parámetros con Copy Config. - :white_check_mark: 100 % sin conexión: Incluye Three.js localmente (
web/three_bundle.min.js) sin peticiones a CDN externos.
:wrench: Instalación
Opción 1: A través de ComfyUI Manager (Recomendado)
- Abre ComfyUI Manager → Custom Nodes Manager.
- Busca
ComfyUI PBR Material Generator(oPBR Material Generator) y haz clic en Install. - Reinicia ComfyUI y recarga tu navegador (
Ctrl + Shift + R).
Opción 2: Instalación manual (Git)
- Ve a la carpeta
custom_nodesde tu ComfyUI: cd ComfyUI/custom_nodes - Clona este repositorio: git clone https://github.com/aimpowerment/ComfyUI-PBR-Material-Generator.git
- Reinicia ComfyUI y recarga el navegador (
Ctrl + Shift + R).
:rocket: Uso
- Añade el nodo mediante Clic derecho → Add Node → 3D/Preview →
PBR Material Generator. - Conecta cualquier
IMAGEa la entradaimagey pulsa Run. - Usa el HUD interactivo (arriba a la derecha) para ajustar en tiempo real la profundidad, fuerza de normales, rugosidad, metalicidad, AO e iluminación.
- Usa la barra inferior para cambiar de geometría 3D, inspeccionar mapas individuales, cambiar la temperatura Kelvin, probar la repetición UV (
1x–4x) o exportar en.glb/.obj.
:scroll: Licencia y referencias de terceros
- El código de este repositorio está bajo la Licencia Apache 2.0. (requiere atribución).
- Impulsado por Three.js (r170) para el renderizado 3D WebGL, controles orbitales y exportadores GLB/OBJ, y fflate (0.8.2) para la compresión (ambos bajo la Licencia MIT). Consulta
THIRD-PARTY-LICENSES.txtpara ver los avisos completos.
↑ Volver arriba
<a id="русский"></a>
Русский
⚡ Сверхбыстрая генерация PBR-карт без ИИ и 3D-просмотр в реальном времени
Универсальный узел Генератор PBR-материалов и интерактивный 3D-просмотрщик на Three.js для ComfyUI. Поскольку модели ИИ не требуются, все карты вычисляются сверхбыстро в реальном времени с помощью чистой шейдерной математики на GPU. Создавайте карты Альбедо (очищенный Base Color), Глубины/Высот (Depth), Нормалей (смешивание макро- и микродеталей), Шероховатости (Roughness), Металличности (Metalness) и Многомасштабного затенения (AO) из одного изображения — или опционально подключайте собственные PBR-карты и HDR/EXR-окружения — а также настраивайте освещение и экспортируйте готовую 3D-модель в GLB или OBJ прямо внутри ComfyUI.
:sparkles: Возможности
- :zap: Сверхбыстрая генерация PBR без ИИ: Мгновенно вычисляет 6 PBR-выходов с помощью чистой шейдерной математики GPU (без весов ИИ и загрузки тяжелых моделей) из одного входа
IMAGE:base_colorс функцией удаления запеченных теней и бликов (De-Lighting,delight_strength).depth_mapс настройкой контраста, сглаживания и инверсии.normal_mapс комбинацией макро-формы, микродеталей (detail_mix) и переключением оси Y OpenGL/DirectX (invert_normal_y).roughness_mapс настройкой базовой шероховатости (roughness_base), контраста и инверсии.metalness_mapна основе яркости и цветовой насыщенности.ao_mapна основе многомасштабного затенения полостей.
- :electric_plug: Опциональные пользовательские карты: Позволяет опционально подключать собственные внешние карты (
height_depth,normal_map,roughness_map,metalness_map,ao_mapилиenv_map) для их прямого отображения в 3D-просмотрщике. - :package: 10 встроенных 3D-примитивов: Мгновенное переключение между
Plane (Relief),Box,Sphere,Cylinder,Cone,Torus,TorusKnot,Capsule,DodecahedronиIcosahedronс плавным затуханием смещения по краям. - :bulb: 9 пресетов освещения по Кельвину: От
Candle (1900 K)иGallery Warm (3200 K)доDaylight (5500 K),Overcast (7500 K)иGallery Contrast (3000K / 7000K). - :globe_with_meridians: Окружение и тайлинг UV: Управление фоном (
Env BG), интенсивностью (Env Int), размытием фона (Env Blur) и тайлингом текстур (1x–4x). - 🖼️ Галерейная рамка и просмотр отдельных карт: Темная или бронзовая рамка, каркас (Wireframe) и режим просмотра отдельных слоев (
Base,Depth,Normal,Roughness,Metalness,AO). - :floppy_disk: Экспорт 3D в один клик: Экспорт геометрии со смещением в бинарный
.glb,.obj, скриншот.pngили копирование настроек через Copy Config. - :white_check_mark: Полностью автономная работа: Библиотека Three.js встроена локально (
web/three_bundle.min.js) без обращения к внешним CDN.
:wrench: Установка
Вариант 1: Через ComfyUI Manager (Рекомендуется)
- Откройте ComfyUI Manager → Custom Nodes Manager.
- Найдите
ComfyUI PBR Material Generator(илиPBR Material Generator) и нажмите Install. - Перезапустите ComfyUI и обновите страницу в браузере (
Ctrl + Shift + R).
Вариант 2: Ручная установка (Git)
- Перейдите в папку
custom_nodesвашего ComfyUI: cd ComfyUI/custom_nodes - Клонируйте репозиторий: git clone https://github.com/aimpowerment/ComfyUI-PBR-Material-Generator.git
- Перезапустите ComfyUI и обновите страницу в браузере (
Ctrl + Shift + R).
:rocket: Использование
- Добавьте узел через ПКМ → Add Node → 3D/Preview →
PBR Material Generator. - Подключите любое
IMAGEко входуimageи нажмите Run. - Используйте интерактивный HUD (справа сверху) для настройки глубины, силы нормалей, шероховатости, металличности, AO и освещения в реальном времени.
- Используйте нижнюю панель для смены 3D-примитивов, просмотра отдельных карт, выбора температуры Кельвина, тайлинга UV (
1x–4x) или экспорта в.glb/.obj.
:scroll: Лицензия и сторонние компоненты
- Код в этом репозитории распространяется под лицензией Apache 2.0. (с обязательным указанием авторства).
- Работает на базе Three.js (r170) для 3D-рендеринга WebGL, управления камерой и экспортеров GLB/OBJ, а также fflate (0.8.2) для сжатия данных (оба под лицензией MIT). Полные уведомления о лицензиях см. в файле
THIRD-PARTY-LICENSES.txt.
↑ Наверх
<a id="中文"></a>
中文
⚡ 无需 AI 的超高速 PBR 贴图生成与实时 3D 预览
适用于 ComfyUI 的一体化 PBR 材质生成器与 Three.js 交互式 3D 预览节点。由于完全无需任何 AI 模型,所有贴图均通过纯 GPU 着色器数学运算超高速实时生成。只需输入单张图像,即可自动生成 反照率贴图(去光影 Base Color)、深度/高度图(Depth)、法线贴图(宏微观细节混合)、粗糙度贴图(Roughness)、金属度贴图(Metalness) 以及 多尺度环境光遮蔽贴图(AO)——同时支持可选接入自定义 PBR 贴图与 HDR/EXR 环境贴图,并可在 ComfyUI 内直接进行实时打光预览及导出烘焙后的 GLB / OBJ 模型。
:sparkles: 主要功能
- :zap: 无需 AI 的超高速全套 PBR 生成: 通过纯 GPU 着色器数学算法从单个
IMAGE输入瞬间计算 6 路 PBR 输出(无需 AI 权重或下载大型模型):base_color:支持去光影处理(delight_strength),消除原图中的烘焙阴影与高光。depth_map:支持对比度、平滑度与深度反转调节。normal_map:融合宏观平滑与高频微观细节(detail_mix),支持 OpenGL/DirectX Y 轴翻转(invert_normal_y)。roughness_map:支持基础粗糙度(roughness_base)、对比度及反转调节。metalness_map:基于亮度与色彩饱和度阈值自动提取金属区域。ao_map:基于多尺度凹陷/地平线遮蔽算法生成环境光遮蔽。
- :electric_plug: 可选自定义贴图输入: 支持可选接入外部贴图(
height_depth、normal_map、roughness_map、metalness_map、ao_map或env_map),直接在 3D 预览器中进行查看与打光。 - :package: 内置 10 种 3D 预览几何体: 实时切换
Plane (Relief)、Box、Sphere、Cylinder、Cone、Torus、TorusKnot、Capsule、Dodecahedron和Icosahedron,支持边缘平滑过渡位移。 - :bulb: 9 种开尔文(Kelvin)色温灯光预设: 涵盖
Candle (1900 K)、Gallery Warm (3200 K)、Daylight (5500 K)、Overcast (7500 K)及Gallery Contrast (3000K / 7000K)。 - :globe_with_meridians: 环境照明与 UV 平铺测试: 支持环境背景开关(
Env BG)、环境强度(Env Int)、实时背景模糊(Env Blur)以及1x–4x无缝平铺预览。 - 🖼️ 画廊画框与单通道检查: 支持深色/青铜悬浮画框、线框模式及各贴图单独查看(
Base、Depth、Normal、Roughness、Metalness、AO)。 - :floppy_disk: 一键导出烘焙 3D 模型: 直接导出带位移细节的
.glb、.obj模型或.png预览图,也可通过 Copy Config 复制当前材质参数。 - :white_check_mark: 100% 离线运行: 本地集成 Three.js(
web/three_bundle.min.js),运行时无需任何外部 CDN 请求。
:wrench: 安装方法
方式一:通过 ComfyUI Manager 安装(推荐)
- 打开 ComfyUI Manager → Custom Nodes Manager。
- 搜索
ComfyUI PBR Material Generator(或PBR Material Generator)并点击 Install。 - 重启 ComfyUI 并强制刷新浏览器(
Ctrl + Shift + R)。
方式二:手动安装(Git)
- 进入 ComfyUI 的
custom_nodes目录: cd ComfyUI/custom_nodes - 克隆本仓库: git clone https://github.com/aimpowerment/ComfyUI-PBR-Material-Generator.git
- 重启 ComfyUI 并强制刷新浏览器(
Ctrl + Shift + R)。
:rocket: 使用方法
- 通过 右键 → Add Node → 3D/Preview →
PBR Material Generator添加节点。 - 将任意
IMAGE连接到image输入端口并点击 Run。 - 使用右上角的交互式 HUD 实时调节位移深度、法线强度、粗糙度、金属度、AO 及光照参数。
- 使用底部工具栏切换 3D 几何体、单独查看各贴图、更改开尔文色温预设、测试 UV 平铺(
1x–4x)或导出为.glb/.obj。