<<< Texture coordinates, cont.     Index     Texture example (client side) >>>

6. How is texture image loaded?


  • Texture image originates as an array of texels in CPU memory.

    A texel is a texture element: i.e. the color to be applied to an interpolated fragment

  • The C++ client code

    • fills the array of data from an image, or

    • generates the texels programmatically

    texture mapping

<<< Texture coordinates, cont.     Index     Texture example (client side) >>>