Jump to content
  • Advertisement

Archived

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

Axiverse

Trouble with alpha

This topic is 5307 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''m always been able to get alpha to work before but it wont work now for some reason I''ve done thw following device.RenderState.AlphaBlendEnable = True device.RenderState.AlphaSourceBlend = Blend.SourceAlpha device.RenderState.AlphaDestinationBlend = Blend.InvSourceAlpha is there anything i''m forgetting...? btw i''m using PositionedColoredTextured Verticies with no texture and verticies with different alpha diffuse colors

Share this post


Link to post
Share on other sites
Advertisement
You probably want just SourceBlend and DestBlend, not AlphaSourceBlend and AlphaDestBlend. The latter are new DX9 states that allow you to control how the frame buffer''s alpha value is calculated rather than the color.

Share this post


Link to post
Share on other sites
Thanks so much =), it worked, and it was right in my other apps, but it''s these little things that you overlook and bothers you for the whole day...

Thanks again

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!