OpenGL ES 3 – Mipmapping

This app demonstrates the use of mipmapping in texturing.

The two quads with textures in the scene can be moved around(touch dragging), zoom in/zoom out(pinch zoom). The position and zoom level can be reset to the original state by tapping the reset button.

The left quad has been rendered without the use of mipmapping and utilizes bilinear filtering.
On the other hand, the right quad has been rendered with mipmapping and utilizes bilinear mipmap filtering(trilinear filtering).

When zoomed out, minification occurs on both textures. Artifacts appear on the left quad; on the right-hand glove and on the left shoe of the character in the left quad. Artifacts on the left quad become clearly visible when moving the quads around, especially on the glove part.
However, on the right quad, artifacts do not occur at all. This shows the benefit of using mipmapping when doing texturing.

Artifacts might be hard to be noticed in the video. Opening the video in full screen and selecting the best resolution available can help to notice the artifacts easier.

Platform: iOS
Programming Language: Objective-C, C/C++, GLSL
Device: iPad Air

Sonic the Hedgehog is a property of Sega Corp.