If I'm not mistaken, both toScreen and toScreenPrecise always draw the first texel at the first pixel-- that is, the 0,0 pixel of the texture gets drawn at the coordinates of the first and second argument sent to the drawing function.
I would like to draw a shifted texture, such that a different texel gets drawn at the upper left corner of the drawing box. This is mostly for working with tiling (repeating) textures.
Is there a way to do that?
While I'm asking texture questions, is there a way to draw a textured triangle rather than a textured rectangle?
Is there a way to shift textures?
Moderator: Moderator