Opengl, blend only when destination pixels' alpha value is positive -


i'm searching function/way make blending work when destination pixels' (i.e. buffer) alpha value greater 0.

what i'm looking glalphafunc tests incoming fragments, in case want test fragments found in buffer.

any ideas?

thank in advance

ps. cannot pixel-by-pixel test in drawing function because set callback function user.

wait, answer confusing, think you're looking : opengl - blending previous contents of framebuffer


Comments

Popular posts from this blog

javascript - Hide toolbar of pdf file opened inside iframe using firefox -

Ansible - ERROR! the field 'hosts' is required but was not set -

Copy range with conditional formatting -