Introduction
In computer graphics, textures define the visual richness of digital environments. From the subtle grain of leather to the rugged surface of a moonscape, high-quality textures are essential for realism. However, creating these assets is traditionally a labor-intensive process, often requiring high-resolution reference photography or complex procedural generation.
Infinite Texture introduces a novel framework capable of generating arbitrarily large, high-quality textures—exceeding 85 megapixels—from simple text prompts. By combining the creative power of diffusion models with a specialized fine-tuning and aggregation strategy, the method produces diverse, non-repetitive surfaces suitable for professional 3D rendering and image re-texturing.
The Challenge of High-Resolution Synthesis
While modern text-to-image models like Stable Diffusion or DALL-E have revolutionized content creation, they face significant hurdles in texture synthesis:
- Resolution Constraints: Most models are natively limited to 1024x1024 pixels.
- Repetitive Patterns: Simple tiling of small patches creates "seams" and obvious repetitions that break immersion.
- Material Consistency: Generating multiple variations of the same material while maintaining consistent color and structure is difficult with standard prompting.
Methodology: The Three-Stage Pipeline
The Infinite Texture framework addresses these challenges through a three-stage process:
1. Reference Generation
The process begins with a text prompt (e.g., "orthographic surface texture of leather"). A pre-trained model, such as DALL-E 2, generates an initial 1024x1024 "seed" patch that establishes the material's visual identity.
2. Per-Texture Fine-tuning
To capture the specific "DNA" of the material, the researchers fine-tune a Stable Diffusion model on random crops of the single seed image. Uniquely, they also fine-tune the text encoder. This intentional "overfitting" teaches the model the exact statistical distribution—colors, patterns, and micro-shadows—of that specific material.
3. Score Aggregation (Inference)
To generate massive images on standard hardware, the system employs a strategy inspired by MultiDiffusion. The large latent map is divided into small, overlapping random patches. During the denoising process, noise estimates are calculated for each patch and averaged where they overlap. This ensures global spatial consistency and eliminates visible seams, allowing for the creation of textures at virtually any scale.
Key Insights
- Overfitting as a Feature: Unlike typical machine learning where overfitting is avoided, here it is used to lock the model into a specific material's style while retaining the ability to generate infinite variations of that style.
- Text Encoder Optimization: Fine-tuning the text encoder prevents "color drift" and "semantic priors," where the base model might otherwise try to inject generic ideas of a material that conflict with the seed image.
- Randomized Patching: By using random crops rather than a fixed grid during inference, the authors achieved a 10x speedup in generation without sacrificing visual quality.
Results and Applications
The framework demonstrates remarkable versatility across various material types, from organic fabrics to geological surfaces.
In human evaluation studies (Amazon Mechanical Turk), Infinite Texture results were preferred for realism 45% of the time, significantly outperforming competitors like NSTS (22%) and PSGAN. The textures have been successfully applied to 3D models and used for "re-texturing" real-world photos, such as transforming a stone sculpture into honeycomb.
Limitations and Future Work
Despite its success, the method has some constraints:
- Processing Time: Fine-tuning requires approximately 10 minutes on an NVIDIA A100 per prompt.
- Directional Textures: Long-range structures, like straight wood grains, can sometimes lose orientation due to the patch-based nature of the denoising.
- Lighting Shifts: Very large textures may occasionally exhibit subtle global lighting or color gradients.
Future research aims to integrate segmentation models, enabling the automatic application of different synthesized textures to distinct components of a 3D scene.
Summary updated