• Advertisement

Archived

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

Subtractive blending over the frame buffer

This topic is 5905 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 know how to do additive blending over the frame buffer. You simply enable alpha blending and set both source and destination blend to D3DBLEND_ONE. But how do I do subtractive blending? I am using Direct3D 7. There seems to be a BLENDOP in Direct3D 8 but I can't use that. Note that I am not trying to blend multiple textures, I only have 1 texture. So I am not blending between texture stages. I want to blend a textured poly with subtractive blending on what's already displayed on the screen. Please help, I don't want to resort to software to do it. I do have the code written for software (for my DirectDraw implementation), but I also want all my blending effects (alpha, add, sub) in my Direct3D implementation. -------- Blaster www.blastersoft.com www.strategyfirst.com Edited by - Blaster on November 22, 2001 6:07:14 PM

Share this post


Link to post
Share on other sites
Advertisement
Come on, anyone??

I want to make nice smoke effects, etc.

--------
Blaster
www.blastersoft.com
www.strategyfirst.com

Share this post


Link to post
Share on other sites

  • Advertisement