Hey
I would like to load about 2 BMP frames (2 layers of one image) to device
and then Alpha Blending the layers to one image (ie put image B on top of image A (ex A is a background image and B...
Type: Posts; User: michpre
Hey
I would like to load about 2 BMP frames (2 layers of one image) to device
and then Alpha Blending the layers to one image (ie put image B on top of image A (ex A is a background image and B...
k is constant 0.5
alpha is per pixel
Thanks
F chose the visible pixel from the all layers and put it in ouput image (here rgmb_main_raster is output image)
rgb_main_raster[i]=rgb_main_raster[i]*(1-alpha)+layer_rgb[i]*alpha+k;
...
Thanks
to be more specific
I run over the layer
for (...each layer...){
for (...image Width...){
for (....image Height...)
{
ouputImage += F(x,y,Layer)...
Hey
I would like to load about 30 BMP frames (30 layers of one image) to device
and then merge the layers to one image .
I would like to do that (only the merging) with openGL (in order to...