Author Topic: Repeat and stretch mode for sprites?  (Read 4038 times)

Shifty Geezer

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 9
  • Posts: 226
    • View Profile
Repeat and stretch mode for sprites?
« on: January 02, 2014, 08:18:52 AM »
Is it possible to take a repeating texture like horizontal lines and both stretch them across the sprite and tile them vertically? eg. An 8x8 texture that's a single pixel white line on black applied to an 80x80 pixel sprite would draw lines 80 pixels wide (stretching the sprite width) and repeat them 10 times (tiled the sprite vertically).