rageworx/FLFTRender

Transparency not overrides by alpha value.

rageworx opened this issue · 3 comments

In case of filled 32bit depth buffer as 0xFFFFFF00, transparency is 0x00 and color is 0xFFFFFF (white).
If FLFTRender set to color any, and transparency set to 0xFF, FLFTRender not draws correct font rendering on the buffer.

Strange alpha calculation.
image

“I was” completely designed this rule - BEFORE that I made this.
Lately recall to the mind, It is not a bug.
To draw something on 100% transparency RGBA image, May need fill something to NOT transparency object.
Maybe draw font as a white with non-transparency and draw it color again ?

Code:
image

Result:
image

Solved, not a bug.