Texture Atlas: Switch Images
Change Image Button
Change Image button to switch
the mapped image.
Demonstrates switching images with a WebGL texture atlas.
efficient use of one vertex buffer object
and one texture.
WebGL Textures: Mipmaps, Sub Images & Atlases
- Sub Images from Texture Data
- Sub Images from Array Data
- Texture Atlases
Learn programming now, with free WebGL tutorials. WebGL provides useful techniques for education, games, scientific visualization, and architectural rendering.
Online examples work with WebGL enabled Web browsers including Windows PCs (Microsoft Edge, Firefox, and Chrome), iPhone 6 and above, and current Androids. Most examples also work with Windows Phone operating system 8.1.