Issues when rendering sprites using D3DX10_SPRITE

Started by
-1 comments, last by JaMeZwHiTe 11 years, 10 months ago
Hi all,

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:

HmSF0.png

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 smile.png

Many thanks,

- Jamie.

This topic is closed to new replies.

Advertisement