colors - OpenGL normal blending with black alpha edges -
i have problem blending text. it's not text problem global blending problem alpha value.
i tried 2 different blending function on image (text image too). function glblend different first parameter. (i know how glblend func works)
there black pixels around text , it's around every alpha image smooth alpha edges. doesn't seem text :/
the result parameter gl_one want can't make text fade alpha value.
so question is:
is there way how result gl_one parameter using source alpha value of image?
with parameter source alpha of image isn't used can't transparent. want animate image this:
i need use gl_src_alpha function because need use source alpha. tried increase color values fragment shader result similar gl_one blending don't want change original colors.
any help? thanks.
edit: there page blending functions can try , better understand mean:
Comments
Post a Comment