Texture a 3D model
Load your mesh in Load 3D (Advanced) and the reference image in Load Image, then run the workflow. The template ships with a frog statuette mesh and its painted version, so it runs as downloaded.
Download Workflow
Download JSON or search “UltraTex: Texture a 3D Model” in Template Library
sir_frog.obj
The mesh to texture, opened in Load 3D (Advanced)
sir_frog.png
The reference: how the object should look
What to change
- Load 3D (Advanced): your mesh and the camera the front view is taken from. The bake reuses that same camera rig.
- Load Image: the reference seen from the front camera’s side, because it lands on the front view. Keep one object in one orientation.
- Rendered Mesh Resolution (1024) sizes the renders and the latent. Texture Resolution (4096) sizes the baked maps.
- Albedo pass runs 4 steps at seed 1. Metallic/roughness pass runs 8 steps at seed 4.
- Camera orbit is pinned to four side views plus top and bottom, six views in total. UltraTex Conditioning accepts only that six-view set or the four side views alone, so a reduced orbit needs a matching latent batch size of 4.
Before you run
- The mesh must already have UVs. The bake and the apply step reuse them, and there is no unwrap step.
- Seeds change surface detail only. The silhouette always comes from the mesh.
fill_unseengrows colour into texels no view saw. Turn it off to keep the mesh’s own texture in those areas.
Model downloads
Seven files go underComfyUI/models. The shipped graph needs 13.16 GB; swapping the checkpoint to the full-precision build brings it to 21.87 GB.
Diffusion model: flux-2-klein-base-9b_int8_convrot.safetensors
FLUX.2 Klein base 9B, INT8, 9.44 GB. Place in
ComfyUI/models/diffusion_models/Distillation LoRA: flux-2-klein-9b_distill_lora_avg_rank_345_bf16.safetensors
Loaded at strength 0.5, 1.96 GB. Place in
ComfyUI/models/loras/Albedo LoRA: ultratex_flux2_klein_9b_albedo_lora_bf16.safetensors
Albedo pass, 478 MB. Place in
ComfyUI/models/loras/Metallic/roughness LoRA: ultratex_flux2_klein_9b_metallic_roughness_lora_bf16.safetensors
Metallic/roughness pass, 478 MB. Place in
ComfyUI/models/loras/Embedding: flux-2-klein-9b_empty_prompt.safetensors
Pre-encoded empty prompt, 25 MB. Place in
ComfyUI/models/embeddings/VAE: ultratex_flux2_vae_fp32.safetensors
UltraTex VAE, FP32, 336 MB. Place in
ComfyUI/models/vae/Background removal: birefnet.safetensors
Masks the reference image, 444 MB. Place in
ComfyUI/models/background_removal/Load Conditioning reads the pre-encoded empty prompt instead. Model weights carry the FLUX Non-Commercial License. Paper and code: UltraTex on arXiv, yiboz2001/UltraTex.