Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

keywiz2k

Transpareny and Translucency Problem

This topic is 6309 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I use DirectX, i have a texture with a Source Color key when i use it in a triangle color key work well. but when i try to use translucency with: lpDev->SetRenderState(D3DRENDERSTATE_SRCBLEND,D3DBLEND_SRCALPHA); lpDev->SetRenderState(D3DRENDERSTATE_DESTBLEND ,D3DBLEND_ONE); lpDev->SetRenderState(D3DRENDERSTATE_ALPHABLENDENABLE,TRUE); Render........ color key stop work... can help me?? its my code its a fault of dx?? or Keywiz

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!