James, when in TEXTVGA mode the low nibble of the attribute byte behaves as expected but the high nibble seems to have no effect (usually background color?). Is this by design or am I missing something? Is there another way to accomplish different background colors for text? I tried overwriting a solid fill char (0xDB) with another text char to see if the backgrounds were alpha'd but apparently not.
Post by jamesbowman on Feb 19, 2014 17:35:09 GMT -8
Right, transparency TEXTVGA is a bit tricky. TEXTVGA gives an alpha of zero to the background pixels - this makes them transparent. To make the background pixels opaque the blend function needs to be set to replace pixels, i.e. ignore the bitmap's alpha channel. So adding this command before the Vertex2ii():