Members - Reputation: 110
Posted 27 May 2012 - 12:48 PM
I have implemented 2D sprites using the D3DX10_SPRITE and ID3DX10Sprite method. The image renders correctly positioned, scaled, etc. The issue I am having is that the physical image is incorrect, see screenshot below:
The image should be the letter 'G' with a transparent background. At this stage, I am pointing the finger at the Alpha blending description (see bottom of device creation code).
Here is my code (pastebin) for creating the device along with my blend states plus more: http://pastebin.com/TBYrjG3x
Can anyone help me with this? You will get a virtual cookie