What Are Mipmaps? Texture Levels, Filtering, and Memory Cost

Mipmap texture levels cover

TL;DR

  • A mipmap stores progressively smaller filtered versions of one texture.
  • The GPU selects levels according to the texture footprint on screen.
  • Trilinear filtering blends adjacent levels, while anisotropic filtering addresses elongated footprints.
  • A full square RGBA8 chain adds about one-third to the base texture payload.

Introduction

Mipmaps are prefiltered copies of a texture at progressively smaller resolutions. When a surface occupies fewer screen pixels, the sampler can use a coarser level or blend adjacent levels. This helps reduce texture aliasing during minification. The extra levels also take memory when they are resident.

Imagine moving away from a textured prop with fine painted lines. Several alternating texels can end up beneath one screen pixel. Sampling only the largest image can produce unstable detail as the camera moves. A mipmap chain gives the renderer filtered representations suited to those smaller projections.

What Is a Mipmap Chain?

Level zero is the full-resolution image. Each following level normally halves the width and height until both reach one texel. Prefiltering combines neighboring values before downsampling. It gives the smaller representation a useful average of the original signal.

A complete 1024 × 1024 chain contains eleven levels, including level zero and the final 1 × 1 image. Level one is 512 × 512, level two is 256 × 256, and level three is 128 × 128. The number of levels follows the dimensions of the source image. Rectangular textures can also have mip chains.

A chain diagram explains what images exist. The renderer's sampler then decides how to use them for a particular surface. Keep those two decisions separate when diagnosing an unexpected result.

Mipmap chain diagram

How Does the GPU Choose a Mip Level?

A screen pixel covers a footprint in texture space. That footprint depends on projected size, UV scale, and viewing angle. The sampler estimates how rapidly texture coordinates change across nearby screen pixels and uses that information to select an appropriate level.

Distance often changes the result because a distant object occupies fewer screen pixels. A surface viewed at a grazing angle creates a different problem. The footprint can be long in one direction and narrow in the other. A single uniformly coarse level may blur detail along the narrow dimension.

UV layout matters too. Two surfaces at the same distance can require different levels if they use different amounts of texture space. Inspect the surface projection and UV density together before applying a global bias. Mesh LOD changes geometry, while mip levels change the texture resolution used for sampling.

Texture footprint diagram

Bilinear, Trilinear, and Anisotropic Filtering

Bilinear interpolation alone says how values are combined within an image. A minification setting can pair that interpolation with either a fixed image or a selected mip level. Name the complete setting when comparing two renders.

Trilinear filtering smooths transitions between adjacent levels. Anisotropic filtering addresses the footprint's unequal dimensions at an angle. They can be used together. Compare at the same camera position, output resolution, material, and resident texture levels. A still image can show spatial detail. Use a repeatable moving camera path to evaluate shimmer over time.

MethodWhat it combinesWhat to inspect
BilinearNeighboring texels within one levelWithin-level smoothness
TrilinearBilinear samples from adjacent mip levelsTransitions between levels
AnisotropicSamples distributed across an elongated footprintOblique surface detail
Texture filtering methods comparison
Near texture filtering result
Distance texture filtering result
Oblique texture filtering result

How Much Texture Memory Do Mipmaps Use?

Base Level vs. Full Chain

For square power-of-two textures, each level contains one quarter as many texels as the previous level. The full-chain sum approaches 1 + 1/4 + 1/16 and so on, or 4/3 of the base-level texels. That is the origin of the familiar roughly 33 percent overhead.

The table below assumes RGBA8 at four bytes per texel, a complete chain through 1 × 1, and every level resident. MiB uses 1,048,576 bytes. These are calculated texture payloads. Driver allocation, alignment, and compression can change the actual allocated memory.

Mip 0LevelsBase payloadFull chain
512 × 512101 MiB≈1.33 MiB
1024 × 1024114 MiB≈5.33 MiB
2048 × 20481216 MiB≈21.33 MiB
4096 × 40961364 MiB≈85.33 MiB

Texture Size, Compression, and Streaming

Doubling both dimensions quadruples the base texels. That decision usually changes the budget more than adding the lower levels. Block compression and partial residency need their own per-level calculation. Streaming can limit which levels are resident, and a small PNG on disk can still expand to a much larger GPU representation.

Mipmap memory cost diagram

How Are Mipmaps Generated for an Exported Asset?

Start with an exported textured prop and identify its base-color image. Record its dimensions and export identity. The Tripo Texture & PBR workflow applies textures to a model. The receiving engine or renderer generates and samples the mip chain using its import and texture settings.

For a controlled test, compare three complete-mesh views with the same UVs, lighting, camera, color space and output size. View A uses LinearFilter with mip generation disabled. View B uses LinearMipmapNearestFilter. View C uses LinearMipmapLinearFilter. A/B changes mip-level selection; B/C changes blending between adjacent levels.

The browser demonstration uses an exported desk-lamp GLB and its original UV layout. Its 4096 × 4096 base-color map is reduced to 1024 × 1024 for all three views. Three.js r180 renders an unlit material with antialiasing disabled and anisotropy set to one. The cover uses a view of this same lamp.

Texture sampling Tripo screenshot

Download the Lamp Asset and Reproduction Materials

texture-sampling-reproduction-pack.zip

The ZIP directly above contains the exact lamp.glb, its original embedded 4096 × 4096 base-color image, the fixed 1024 × 1024 test map, the demo HTML and local Three.js r180 modules. It also includes the recorded loop, article stills, filter settings and checksums. Extract the pack and follow README.md to run lab/index.html through a local HTTP server.

Use source/model-identity.json to match the experiment to the GLB. Its SHA-256 is b7eb47e47de5df96f1baf461f0406672ed677d6399ad82f69729bff300d7456a. Its embedded generator metadata is recorded in the manifest; the original Studio task and reference were not retained. SOURCE-AND-RIGHTS.md states the known source and licensing limits; no separate public reuse license for the lamp or maps has been verified. The bundled Three.js code retains its MIT license.

All three full-mesh views rendered successfully. The near, distant and oblique stills show that differences can be subtle on this softly painted texture. Use the displayed camera values to distinguish the views; all three filters share one camera within each frame. The approximately eight-second recording moves outward and back while changing angle. Inspect the loop for temporal changes instead of inferring shimmer from one still. No frame-rate or GPU-memory benefit was measured.

Mipmap camera loop animation

The separate chain diagram comes from eleven levels generated and read back by WebGL 2 in an RGBA8 diagnostic texture. This demonstrates the level dimensions and progressive averaging. It is not a claim that every renderer generates identical sRGB-filtered pixels. No frame-rate, bandwidth or GPU-allocation measurement was taken.

For your own test, preserve the source file and map, record the renderer and filters, and keep the camera path unchanged. Start with the original mesh and UVs. A repeated-plane mode can expose minification more strongly, but atlas boundaries may add artifacts of their own. Inspect a patch inside one UV island when isolating a source-map problem.

If the source is already soft in the close view, investigate blurry source textures before changing mip selection. If the artifact follows island boundaries, examine padding and color bleeding along UV seams. A sampling setting and a source-map defect can produce different patterns.

Controlled mipmap test

Modeling Input Scheme for a Texture Test Lamp

For your own study, choose a lamp with broad painted surfaces and a clear continuous silhouette. The case above uses an existing exported asset. The suggested input below describes a new form study; retain the actual output and maps when reproducing the comparison.

Suggested modeling prompt:

Original sculptural desk lamp with a smooth violet hemispherical base, a single curved violet support and a broad ivory dome shade with a warm-yellow inner surface. One continuous readable silhouette, restrained ceramic-like finish, soft painted texture variation, isolated three-quarter view on a neutral background. No lettering, logo, recognizable product design, character or franchise elements. Keep the lamp base, support and shade consistent across reference views. Export the actual mesh, UVs and base-color map for a controlled texture-sampling study.

Retain the actual exported file, UVs and base-color map. Confirm their identity before making the cover or comparing filters. The cover pairs a render of the same exported desk lamp with selected mip levels from its base-color texture.

Frequently Asked Questions

What does MIP stand for in mipmapping?

The name comes from multum in parvo, meaning much in little. It describes storing several representations within a compact hierarchy.

How to generate MIP maps?

Prefilter and downsample the source image into successive levels. Depending on the engine, this happens at import, build, or runtime. Inspect the settings and generated levels in your actual renderer.

How many mip levels does a 1024 × 1024 texture have?

A complete chain has eleven levels including level zero and 1 × 1. A chain can also stop earlier if the application deliberately supplies fewer levels.

Do mipmaps increase GPU memory usage?

Resident lower levels add texture data. A complete square RGBA8 chain adds about one-third to the base payload under the assumptions used in the table.

How do mipmaps differ from mesh LOD?

Mipmaps supply texture resolutions for sampling. Mesh LOD changes the geometric representation. They can both contribute to a real-time asset budget.

Do all textures need mipmaps?

They are useful for surfaces that shrink on screen. Native-resolution interface images and lookup textures with exact-value requirements need a sampling policy suited to their use.

Conclusion

A mipmap decision combines image quality and residency cost. Match the shipped texture size to visible detail, then check distance and angle under controlled settings.

Create a textured candidate in Tripo Studio and consult Tripo pricing for export access when preparing your own test asset.

Tripo Team
Tripo TeamThe team behind Tripo

Sharing practical workflows, product insights, and ideas for creating 3D with Tripo.