Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

SharpDX - Directx10 and Alpha Blending

4: Adsense

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   

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.

#2 drjaydenm   Members   

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.