Single Channel Blend Possible?

Started by
1 comment, last by neroziros 9 years, 7 months ago

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

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.

Thanks it worked perfectly! :)

This topic is closed to new replies.

Advertisement