< Zurück | Inhalt | Weiter >

14.3.2 Boundary mode

Setting the boundary mode to Texture.WRAP allows texture coordinates greater than 1 to be used. The texture image will be repeated (tiled) along each axis (s, t, or r) that has the WRAP boundary mode. If CLAMP is used, texture coordinates outside the 0 to 1 range will be ignored. See figure 14.12 for an example of how CLAMP and MinFilter can be used.


Note that the texture image can be flipped in each axis by using the WRAP attribute and a texture coordinate of

–1.