Jump to content
  • Advertisement
Sign in to follow this  
neroziros

Single Channel Blend Possible?

This topic is 1422 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

Hi there! I have been looking over the net for a while now but I didn't find an answer to this question: Is it possible to do additive blending over a single channel of a texture while processing the others channels without blending ?

 

I am implementing shadow maps for my particle system and I'd like to merge the opaque shadow map (doesn´t need blending) with the translucency map (needs blending) to avoid doing 2 texture samples.

 

Any info is appreciated!

Thanks for your time

Edited by neroziros

Share this post


Link to post
Share on other sites
Advertisement

D3D11 blend modes support different operations for the alpha channel vs. the RGB channel, so it would be possible to do it if you store your translucency map in the alpha channel fo your texture.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!