Skip to main content
1 of 4
Jesse Emond
  • 4.3k
  • 4
  • 29
  • 37

Well, if you want to use it for 2D games (assuming from the tags), you only need a Transform matrix to apply to the SpriteBatch (XNA 4.0), not World and Projection matrices:

spriteBatch.Begin(SpriteSortMode.Immediate, null, null, null, null, effect, Transform); /* ... */ 
Jesse Emond
  • 4.3k
  • 4
  • 29
  • 37