Texturing

A texture is an image file applied onto a primitive surface.

WebGL has limited support for non-power-of-two (NPOT) image sizes. Unless the 'TEXTURE_WRAP_S' and 'TEXTURE_WRAP_T' parameters are set to 'CLAMP_TO_EDGE', valid texture images must have sizes such as 128*128 and 256*512.

When dealing with textures, the horizontal axis is referred to as the s-axis while the vertical axis is denoted by the t-axis.

By default, some browsers block access to files on your local disk. You need to enable the option before proceeding, should you decide to run on your local disk. Remember to block the access after completion because enabling local file access opens a security loophole.