πŸŽ‰ Launch Sale β€” 20% OFF all credit packages!

Get Credits
Logo of Trellis2
Trellis 2
FeaturesPricing
BlogFAQ
Logo of Trellis2
Trellis 2

Transform images into stunning 3D models with AI-powered technology

Product

  • Features
  • Pricing
  • Blog
  • FAQ

Company

  • About
  • Contact
  • Trify3D

Legal

  • Privacy Policy
  • Terms of Service

Β© 2026 Trellis 2. All rights reserved.

  1. Home
  2. Blog
  3. TRELLIS 2 PBR Texture Generation in ComfyUI: Complete Guide (2026)
TRELLIS 2 PBR Texture Generation in ComfyUI: Complete Guide (2026)
2026/04/21
3 min read

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:

MapWhat It ControlsExample

More Posts

Newsletter

Join the community

Subscribe to our newsletter for the latest news and updates

Base ColorSurface color without lightingRed paint on a car
RoughnessHow blurry reflections areMirror (0) vs matte plastic (1)
MetallicWhether surface is metalGold coin (1) vs wood (0)
NormalSurface detail without extra polygonsBrick wall texture on a flat surface
OpacityTransparencyGlass window, chain-link fence

TRELLIS 2 PBR Workflow in ComfyUI

Required Nodes

  1. TRELLIS Image to 3D β€” Generate the base 3D mesh
  2. TRELLIS Texture Bake β€” Bake PBR materials
  3. 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: 1024 or 1536 (higher = better textures)
  • Steps: 30-50

Step 2: Configure Texture Bake

Add the TRELLIS Texture Bake node with these settings:

ParameterRecommended SettingNotes
Texture Resolution2048Production quality
PBR ChannelsfullAll 5 maps
Bake MethodsmartBetter UV packing
Denoise Strength0.5-0.7Reduce noise
AO BakingtrueAdds ambient occlusion
Normal Strength1.0Default 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

ResolutionVRAM ImpactQualityBest For
512LowBasicQuick previews
1024MediumGoodStandard use
2048HighExcellentProduction assets
4096Very HighMaximumHero assets, close-ups

Tips for Better PBR Results

  1. Use high-quality input images β€” Better input = better texture inference
  2. Match lighting conditions β€” Even, neutral lighting produces cleaner PBR maps
  3. Increase generation steps β€” More steps = more detail in texture generation
  4. Use 1024Β³ or higher resolution β€” Lower resolutions produce blurry textures
  5. Check UV quality β€” Bad UVs = stretched or missing textures

Exporting for Game Engines

Unity

  1. Export as GLB from ComfyUI
  2. Import into Unity (supports GLB natively in 2022.3+)
  3. Materials auto-convert to Unity's Standard shader
  4. Verify texture assignments in the Material Inspector

Unreal Engine

  1. Export as GLB or FBX
  2. Import into Unreal β€” textures auto-extract
  3. Create a Material using the PBR maps:
    • Base Color β†’ Base Color input
    • Roughness β†’ Roughness input
    • Metallic β†’ Metallic input
    • Normal β†’ Normal input

Blender

  1. File β†’ Import β†’ glTF 2.0
  2. Switch to Material Preview or Rendered view
  3. PBR textures apply automatically

Troubleshooting

"Textures look stretched"

UV unwrapping quality affects this. In the Texture Bake node:

  • Try smart bake method instead of auto
  • 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
All Posts

Author

avatar for Trellis2 Team
Trellis2 Team

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

    What Are PBR Textures?TRELLIS 2 PBR Workflow in ComfyUIRequired NodesStep-by-Step ConfigurationTexture Resolution GuideTips for Better PBR ResultsExporting for Game EnginesUnityUnreal EngineBlenderTroubleshooting"Textures look stretched""Metallic map is all black""Normal map looks flat"Related Guides
    How to Use TRELLIS 2 Online Free: No GPU Required (2026)

    How to Use TRELLIS 2 Online Free: No GPU Required (2026)

    Complete guide to using Microsoft TRELLIS 2 online for free. Covers Hugging Face Spaces, Google Colab, and other cloud platforms β€” no GPU or Python installation needed.

    avatar for Trellis2 Team
    Trellis2 Team
    2026/05/04
    Image to 3D Model for 3D Printing: Complete Workflow Guide (2026)

    Image to 3D Model for 3D Printing: Complete Workflow Guide (2026)

    Turn any photo into a 3D-printable model. Covers AI tool selection, mesh repair in Blender, STL export settings, slicer configuration, and troubleshooting common print failures. Works with TRELLIS 2, Meshy AI, and Tripo AI.

    avatar for Trellis2 Team
    Trellis2 Team
    2026/05/03
    TRELLIS 2 ComfyUI Workflow: Image to 3D GLB Step by Step (2026)

    TRELLIS 2 ComfyUI Workflow: Image to 3D GLB Step by Step (2026)

    Detailed step-by-step ComfyUI workflow for converting images to 3D GLB models using TRELLIS 2. Includes downloadable workflow JSON, node configuration, parameter explanations, and troubleshooting.

    avatar for Trellis2 Team
    Trellis2 Team
    2026/04/21