Real-Time 3D Graphics with WebGL 2
上QQ阅读APP看书,第一时间看更新

Textures

Textures are arrays of data that can be accessed in your shader program. Image data is the most common thing to put in a texture, but textures are simply data and can just as easily contain something other than an array of colors describing an image.