flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > blending a background? |
Author |
|
Redragon 15 Mar 2005, 19:43
pmode and all that is setup up already, but I was wondering how you would go about blending two background colors together in fasm.. thanks!
|
|||
15 Mar 2005, 19:43 |
|
deltre 23 May 2005, 09:07
What graphics mode do you use? In default mode 0x13, its harder to blend colors because you're dealing with the palette - using the RGB encoding it's alot easier. For example, to print a 50% transparent image into your current background image, for every pixel:
(Red value for background pixel) + (Red value for image) SHR 1 Same for green and blue, and for every pixel the image would be on. |
|||
23 May 2005, 09:07 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.