Overlay Algorithm w/ Alpha Value
BlitzMax Forums/BlitzMax Programming/Overlay Algorithm w/ Alpha Value
| ||
Hi! I'm having trouble finding an overlay algorithm that takes alpha values into consideration. Does anyone know of any code examples? Google hasn't been my friend on this matter. Thanks! |
| ||
Hey Ked! This not help? http://stackoverflow.com/questions/26956357/overlaying-pixels-with-alpha-value-in-c-c |
| ||
I'm having trouble understanding it since it's in a different programming language. Obviously, an overlay algorithm will use a mix of screen and multiply depending on the pixel. I just need to know how to factor in that alpha value of the pixel. The algorithms online that supposedly photoshop and gimp use don't have the alpha value shown in the formula. |