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
Post a Comment