Skip to content
,

UltraTex in ComfyUI: Texture a 3D Model from One Image (Free PBR)

7–11 minutes
Woman on a rooftop terrace holding a tablet with an ULTRATEX card, hook texture any 3D model free

Have a 3D model with no colours on it, and a picture of how it should look? UltraTex paints the whole model for you from that one picture. You get a ready PBR texture: albedo (colour), metallic and roughness maps, baked onto the model’s UVs and exported as a GLB.

It runs free and locally in ComfyUI through an official template, “UltraTex: Texture a 3D Model”, added on 22 November 2026. Under the hood it uses FLUX.2 Klein 9B with two small UltraTex LoRAs, so it fits on far more GPUs than most 3D tools.

This guide covers the exact files and folders, how the workflow works step by step, the settings worth changing, how to prepare your mesh and reference image, and fixes for common problems.

Everything here is checked against the Comfy-Org template and its built-in notes, which link the UltraTex paper and model repo, as of December 2026.

TL;DR

  • Template: Templates, search “UltraTex”. Native nodes, no custom packs.
  • Inputs: one untextured mesh that already has UVs (OBJ in the example) and one reference image.
  • Files: FLUX.2 Klein base 9B int8, a distill LoRA, two UltraTex LoRAs, the UltraTex VAE, a pre-encoded empty prompt and BiRefNet. 13.16 GB in total.
  • Output: a PBR GLB plus albedo, roughness and metallic PNGs, at 4096 x 4096 by default.
  • Licence: FLUX Non-Commercial, so check before using the results in paid work.

New to ComfyUI? Start with my ComfyUI guide for the basics of nodes, models and workflows.

What UltraTex Does

Texturing is the slow, fiddly part of making 3D assets. A modeller might sculpt a character in an afternoon, then spend days painting colour, wear, shine and roughness so it looks right under game lighting.

UltraTex automates the first big pass. The template note describes it as “a 2K multi-view texturing framework” from SIGGRAPH Asia 2026. You give it a mesh and a picture showing how the object should look, and it:

  • renders your mesh from six directions (four sides plus top and bottom) as “world normal” images, which show the shape of every surface;
  • asks FLUX.2 Klein 9B, wearing the UltraTex LoRAs, to paint those six views so they match your reference image;
  • bakes the painted views back onto the mesh’s existing UV layout;
  • does it twice: once for albedo (base colour) and once for packed metallic and roughness.

The result is a real PBR material, the format game engines and Blender expect, not just a coloured model. Metallic tells the renderer which parts are metal, and roughness tells it which parts are shiny or matte.

Good uses:

  • Texturing AI-generated meshes from Hunyuan3D, Tripo or TRELLIS-style tools.
  • Quick colour passes for game props, toys and collectibles.
  • Restyling one model in several looks: wood, painted metal, cartoon colours.
  • Giving an artist a strong starting texture to refine by hand.

Model Files and Folders

From the template’s note, inside ComfyUI/models/:

File Folder Size Job
flux-2-klein-base-9b_int8_convrot.safetensors diffusion_models 9.44 GB The FLUX.2 Klein base 9B model
flux-2-klein-9b_distill_lora_avg_rank_345_bf16.safetensors loras 1.96 GB Distillation LoRA for fast albedo sampling (strength 0.5)
ultratex_flux2_klein_9b_albedo_lora_bf16.safetensors loras 478 MB Paints colour views (strength 1.0)
ultratex_flux2_klein_9b_metallic_roughness_lora_bf16.safetensors loras 478 MB Paints metallic and roughness (strength 1.0)
flux-2-klein-9b_empty_prompt.safetensors embeddings 25 MB A pre-encoded empty prompt
ultratex_flux2_vae_fp32.safetensors vae 336 MB UltraTex’s own VAE
birefnet.safetensors background_removal 444 MB Cuts the object out of your reference image

All of these come from the Comfy-Org/UltraTex and Comfy-Org/BiRefNet repos on Hugging Face, with ModelScope mirrors. The graph as shipped needs 13.16 GB of disk.

Two details are worth knowing:

  • No text encoder is loaded. The note explains the graph reads a pre-encoded empty prompt with the Load Conditioning node instead. That saves several gigabytes of memory, and it means there is no prompt to write.
  • Higher quality option: a full-precision flux-2-klein-base-9b_bf16.safetensors (18.16 GB) is also in the repo. Swapping to it brings the total to 21.87 GB.

The int8 checkpoint should let UltraTex fit on 16 GB cards. The renders are batched six at a time at 1024 x 1024, so lower the rendered mesh resolution if you run out of memory.

The licence matters: the note links the FLUX Non-Commercial License for FLUX.2 Klein 9B. Read it before selling assets textured this way.

How the Workflow Works

The template note lays out the chain:

Load 3D (Advanced) to Create Camera Orbit to Render Mesh (world normal, 6 views) to UltraTex Conditioning to two KSampler passes to Bake Texture From Views to Apply Texture to Mesh to Save 3D Model.

On the reference side: Load Image to Resize And Pad Image (white background) to Remove Background with BiRefNet.

Step Node Template settings
Load the mesh and front camera Load 3D (Advanced) Your OBJ or other mesh
Place six cameras Create Camera Orbit 4 side views, 360 degrees, plus top and bottom
Render shape views Render Mesh World normal, white background
Combine views and reference UltraTex Conditioning Feeds the LoRA passes
Albedo pass KSampler 4 steps, seed 1, CFG 1, euler, simple
Metallic/roughness pass KSampler 8 steps, seed 4, CFG 1, euler, simple
Bake each pass onto UVs Bake Texture From Views 4096 texture, fill unseen on
Attach maps and export Apply Texture to Mesh, Save 3D Model PBR GLB in output/3d/

The albedo pass stacks the distillation LoRA (0.5) under the albedo LoRA (1.0), which is why it needs only 4 steps. The metallic/roughness pass uses its LoRA on the base model without the distillation LoRA, at 8 steps.

A split-channels step separates the packed metallic/roughness image into two single-channel PNGs, saved next to the albedo map.

Run the Template Step by Step

  1. Update ComfyUI. Open Templates and search UltraTex.
  2. Download the missing models when prompted, then press R to refresh model lists.
  3. Try the example first: it ships sir_frog.obj and sir_frog.png, so you can confirm everything works.
  4. In Load 3D (Advanced) (First Camera Rig), load your own mesh and set the camera to the side your reference shows.
  5. In Load Image, load the reference picture of the object from that same side.
  6. Click Run.
  7. Find the results in output/3d/: ultratex_texture_3d_model.glb plus _albedo, _roughness and _metallic PNGs.

Open the GLB in ComfyUI’s 3D preview, Blender (File, Import, glTF 2.0) or any glTF viewer to check it from every side.

Settings Worth Changing

Setting Default What it does
Rendered Mesh Resolution 1024 Size of each of the six renders and the latent. Lower it if you run out of memory.
Texture Resolution 4096 Size of the baked maps. 2048 is plenty for small props and games.
fill_unseen On Grows colour into texels no view could see. Off keeps the mesh’s own texture there.
Seeds 1 (albedo), 4 (metal/rough) Change surface detail only. The silhouette always comes from the mesh.
Camera orbit 6 views Must match the batch size of 6 in Empty Flux2 Latent Image.

The note warns about that last one: Create Camera Orbit is pinned to four side views plus top and bottom, which is six views, and “changing the rig means changing that batch size to match”.

Preparing Your Mesh and Reference Image

The mesh

  • It must have UVs. The note is explicit: “bake and apply reuse them, there is no unwrap step”. AI-generated meshes often come without clean UVs. Unwrap first in Blender (Smart UV Project is a quick option) and re-export.
  • Keep it reasonably clean. Overlapping UV islands make two parts share one patch of texture.
  • Face it forward. The first camera rig defines the front. Rotate the model so its front faces that camera.

The reference image

  • One object, one orientation. The reference lands on the front view, so show the object from the same side as the first camera.
  • Clear and well lit. Even light shows true colours. Harsh shadows can get painted into the albedo.
  • Background does not matter much. BiRefNet removes it, and the image is padded to a white square.
  • Make one if you don’t have it. Render a quick view of your mesh, then use an image editor such as FLUX.2 Klein to paint it into the look you want. That keeps the reference aligned with the mesh.

A Full Free 3D Pipeline

UltraTex fills the gap between “I have a shape” and “I have a finished asset”. A completely local pipeline looks like this:

  1. Concept image: generate the object in an image model.
  2. Shape: turn the image into a mesh with a 3D model. See my Hunyuan3D in ComfyUI guide.
  3. Clean and unwrap: decimate and UV unwrap in Blender.
  4. Texture: run UltraTex with your concept image as the reference.
  5. Finish: touch up the maps in Blender or a paint tool, then export to your engine.

For animated people rather than props, my SAM 3D Body guide covers turning video into 3D motion.

Common Problems and Fixes

Problem Cause Fix
Texture scrambled or smeared Mesh has no UVs or bad UVs UV unwrap in Blender and re-export
Front looks right, back is wrong Reference shows a different side Align the first camera with the reference view
Batch size error after changing cameras Views and latent batch do not match Set Empty Flux2 Latent Image batch to the number of views
Grey or blank patches Areas no camera saw Keep fill_unseen on
Shadows baked into colour Harsh lighting in the reference Use an evenly lit reference
Out of memory Six 1024 renders plus a 9B model Lower Rendered Mesh Resolution, close other apps
Models not in list Wrong folders Check embeddings and background_removal folders too

FAQ

Can AI texture a 3D model for free?

Yes. UltraTex runs locally in ComfyUI with open weights. It textures an untextured mesh from one reference image and exports a PBR GLB.

Do I need a prompt?

No. The template uses a pre-encoded empty prompt. The reference image tells the model how the object should look.

What file formats does it support?

The example loads an OBJ through Load 3D (Advanced). The output is a GLB with separate PNG maps.

Why does my mesh need UVs?

UltraTex bakes the painted views onto the mesh’s existing UV layout. It does not unwrap the model for you.

What resolution are the textures?

4096 x 4096 by default. You can lower Texture Resolution for smaller files.

Can I sell models textured with UltraTex?

The template links the FLUX Non-Commercial License for the FLUX.2 Klein 9B base. Read the licence terms before commercial use.

Does it make normal maps?

No. It outputs albedo, metallic and roughness. The mesh’s own geometry provides the shape.

Sources

Free weekly email

Get new AI guides every week

One short weekly email with our newest local AI, ComfyUI and AI tool guides. No spam, no pop-ups, just the good stuff.

Free. Unsubscribe anytime in one click. We only use your email to send this newsletter. See our privacy policy.

Woman on a rooftop terrace holding a tablet with an ULTRATEX card, hook texture any 3D model free