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

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

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -