Filtered Tilemaps (in Shader X6)

Sylvain Lefebvre 1, 2, *
* Auteur correspondant
1 ALICE - Geometry and Lighting
INRIA Lorraine, LORIA - Laboratoire Lorrain de Recherche en Informatique et ses Applications
2 REVES - Rendering and virtual environments with sound
CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : Tilings have several applications in Computer Graphics. They are used to progressively load large textures, only loading those tiles that are used by the current viewpoint. They are also used to generate large, non repeating textures from a small set of precomputed square tiles. Unfortunately, tilings present difficulties when it comes to filtering (bi-linear interpolation and MIP-mapping). The discontinuities at tile boundaries hinder direct filtering by the graphics hardware. Often, proper filtering implies to re-implement tri-linear filtering in the fragment program. This results in long shaders and possibly rendering artefacts. Moreover this hinders the use of anisotropic filtering which is crucial for terrain rendering. In this article, we will start by explaining the difficulties associated with rendering tilings. After a brief overview of existing methods, we will present a simple yet generic approach to display properly filtered tilings. Our approach exploits the recently introduced DirectX 10 texture arrays (or their OpenGL equivalent). It is as simple as summing four natively filtered lookups. In the far distance - where multiple entries of the tile-map project into a same pixel - a coarse texture is used to filter the tile-map itself. Our approach supports anisotropic filtering.
Type de document :
Chapitre d'ouvrage
Wolfgang Engel. Shader X6: Advanced Rendering Techniques, Charles River Media, pp.63--72, 2008, Shader X6
Liste complète des métadonnées
Contributeur : Team Reves <>
Soumis le : jeudi 7 juillet 2011 - 11:12:30
Dernière modification le : samedi 27 janvier 2018 - 01:30:56


  • HAL Id : inria-00606811, version 1



Sylvain Lefebvre. Filtered Tilemaps (in Shader X6). Wolfgang Engel. Shader X6: Advanced Rendering Techniques, Charles River Media, pp.63--72, 2008, Shader X6. 〈inria-00606811〉



Consultations de la notice