189

Using Texture Coordinates
Using Texture Boundary Modes

  • The Texture class controls the boundary mode in S (horizontal) and T (vertical) texture directions
  • CLAMP
  • Clamp texture coordinates to 0.0 - 1.0
  • Use boundary color for surface parts outside this range
  • WRAP
  • Use the fractional part of texture coordinates, so that values outside 0.0 - 1.0 repeat
  • Creates a repeating pattern, such as a checkerboard or bricks