TRELLIS 2 PBR Texture Generation in ComfyUI: Complete Guide (2026)
How to generate production-quality PBR textures (Base Color, Roughness, Metallic, Normal maps) with TRELLIS 2 in ComfyUI. Covers texture baking nodes, parameter tuning, and export for Unity/Unreal.
Last updated: April 21, 2026
PBR (Physically Based Rendering) textures are what separate amateur 3D models from production-ready assets. TRELLIS 2 can generate full PBR material sets — Base Color, Roughness, Metallic, Normal, and Opacity maps — directly in ComfyUI. This guide shows you how to configure and export them.
What Are PBR Textures?
PBR textures simulate how real materials interact with light. A complete PBR set includes:
| Map | What It Controls | Example |
|---|---|---|
| Base Color | Surface color without lighting | Red paint on a car |
| Roughness | How blurry reflections are | Mirror (0) vs matte plastic (1) |
| Metallic | Whether surface is metal | Gold coin (1) vs wood (0) |
| Normal | Surface detail without extra polygons | Brick wall texture on a flat surface |
| Opacity | Transparency | Glass window, chain-link fence |
TRELLIS 2 PBR Workflow in ComfyUI
Required Nodes
- TRELLIS Image to 3D — Generate the base 3D mesh
- TRELLIS Texture Bake — Bake PBR materials
- TRELLIS Export — Export with embedded textures
Step-by-Step Configuration
Step 1: Generate the 3D mesh
Use the standard TRELLIS Image to 3D node:
- Resolution:
1024or1536(higher = better textures) - Steps:
30-50
Step 2: Configure Texture Bake
Add the TRELLIS Texture Bake node with these settings:
| Parameter | Recommended Setting | Notes |
|---|---|---|
| Texture Resolution | 2048 | Production quality |
| PBR Channels | full | All 5 maps |
| Bake Method | smart | Better UV packing |
| Denoise Strength | 0.5-0.7 | Reduce noise |
| AO Baking | true | Adds ambient occlusion |
| Normal Strength | 1.0 | Default works for most cases |
Step 3: Export with Textures
In the TRELLIS Export node:
- Format:
glb(embeds all textures in one file) - Embed Textures:
true - Apply Transform:
true
Texture Resolution Guide
| Resolution | VRAM Impact | Quality | Best For |
|---|---|---|---|
512 | Low | Basic | Quick previews |
1024 | Medium | Good | Standard use |
2048 | High | Excellent | Production assets |
4096 | Very High | Maximum | Hero assets, close-ups |
Tips for Better PBR Results
- Use high-quality input images — Better input = better texture inference
- Match lighting conditions — Even, neutral lighting produces cleaner PBR maps
- Increase generation steps — More steps = more detail in texture generation
- Use 1024³ or higher resolution — Lower resolutions produce blurry textures
- Check UV quality — Bad UVs = stretched or missing textures
Exporting for Game Engines
Unity
- Export as GLB from ComfyUI
- Import into Unity (supports GLB natively in 2022.3+)
- Materials auto-convert to Unity's Standard shader
- Verify texture assignments in the Material Inspector
Unreal Engine
- Export as GLB or FBX
- Import into Unreal — textures auto-extract
- Create a Material using the PBR maps:
- Base Color → Base Color input
- Roughness → Roughness input
- Metallic → Metallic input
- Normal → Normal input
Blender
- File → Import → glTF 2.0
- Switch to Material Preview or Rendered view
- PBR textures apply automatically
Troubleshooting
"Textures look stretched"
UV unwrapping quality affects this. In the Texture Bake node:
- Try
smartbake method instead ofauto - Increase texture resolution
- Use mesh simplification set to
none
"Metallic map is all black"
The input image may lack metallic elements. TRELLIS 2 infers materials from the image — if there's nothing metallic in the photo, the metallic map will be mostly black.
"Normal map looks flat"
- Increase Normal Strength to
1.5 - Use higher resolution (1536³)
- Increase bake steps
Related Guides
- TRELLIS 2 ComfyUI Guide — Installation and setup
- ComfyUI Workflow Tutorial — Complete workflow walkthrough
- How to Use TRELLIS 2 — General usage guide
Author
3D technology specialists focused on AI-powered 3D model generation, format conversion, and browser-based 3D rendering. We test and review 3D tools so you don't have to.
Categories
More Posts
- MakerWorld Download STL: How to Convert 3MF & Print (2026)MakerWorld downloads are 3MF, not STL. Learn how to download MakerWorld models, convert 3MF to STL free in your browser, and print them on any slicer or printer.
- TRELLIS.2-4B Guide 2026: Microsoft Image-to-3D Free DemoComplete TRELLIS.2-4B guide: Microsoft's 4B image-to-3D model. Compare specs and PBR quality, check VRAM needs, set up ComfyUI, or try a free online 3D demo.
- How to Use Blender 3D Modeling: Beginner Guide 2026Learn how to use Blender 3D modeling: navigation, G/R/S hotkeys, Extrude, modifiers, sculpting, and a structured beginner learning path.
