It looks like you're not specifying a Viewport to the device context. Aside from needing to define a viewport, SpriteBatch will internally use that to create a projection matrix as input for the sprite shader.
StarnickMember Since 06 Oct 2010
Offline Last Active Yesterday, 01:00 PM
I'm not a game developer, I'm a CAD developer! Either way, I'm passionate about 3D Graphics technology and have pursued the Art of Computer Graphics since my school days.
I am the author of two C# wrappers for native libraries dealing with content processing - AssimpNet (Open Asset Import) and DevILNet (Developer Image Library). And in my spare time, I develop my major and ongoing project of interest - the Tesla Graphics Engine. It is a C# graphics engine designed with portability of graphics API/platform in mind (although currently targeting Direct3D11 only). It also sports a nifty content pipeline that includes material scripting.
- Group Members
- Active Posts 272
- Profile Views 8,597
- Submitted Links 0
- Member Title Member
- Age 27 years old
- Birthday October 2, 1987
Graphics programming, Gaming
- Website URL http://www.tesla-engine.net