Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


SharpDX - Directx10 and Alpha Blending


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 drjaydenm   Members   -  Reputation: 111

Like
0Likes
Like

Posted 19 August 2012 - 08:31 AM

Hey all,

I've recently been working on a rendering engine in SharpDX using DirectX 10 and I'm having a problem with alpha blending. I don't currently have any rendertargets except for the backbuffer. Basically what is happening is that I have the depthstencil state and rasterizer state set and thats working fine, but when I try to set the alpha blend state, everything dissappears. I have tried various alpha blending settings but no matter what I try, if an alpha blend state is set to the device, nothing is visible.

Thanks for any help.

Sponsor:

#2 drjaydenm   Members   -  Reputation: 111

Like
0Likes
Like

Posted 19 August 2012 - 09:22 PM

Nevermind, after all this time, I realised the sample mask was set to 0, I changed it to 1 and it works fine




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS