gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Subtractive Blending

#154725 - sgeos - Mon Apr 21, 2008 12:09 am

According to GBAtek, alpha blending works as such.
Code:
I = MIN ( 31, I1st*EVA + I2nd*EVB )


I don't imagine there is any way to perform a subtractive blend in hardware?
Code:
I = MAX ( 0, I1st*EVA - I2nd*EVB )


-Brendan