Archived

This topic is now archived and is closed to further replies.

Floating

Best blending function to have max. contrast?

Recommended Posts

Hi, I was wondering which blending function (or other technique) is best to have a maximum contrast between the background and the text I am drawing on top of it. I want my text to be readable in every situation (black background -> white text, white background -> black text, grey background -> ??, and so on) I used glBlendFunc(GL_ONE_MINUS_DST_COLOR,GL_ZERO) but this doesn''t give good results with a grey background... Thanks

Share this post


Link to post
Share on other sites