Many times working with Direct3D9, you want to build a simple GUI to overlay over your graphics, many libraries does this in some way but at some point you may want to use a web browser and options are much more limited. CEF
is great, but heavy and IPC can be a real pain to handle, ultralight
stopped supporting x86 arch... few other webui libs out there, they all have its pros and cons but we lost the sense of simplicity we wanted on first hand.
Then theres MSHTML (Internet Explorer) that is shipped on every windows os, enough versatile and fast to be used as overlay. Shamefully for Microsoft, this control never supported transparent background, even on .net webforms/WPF webbrowser depends from MSHTML and always cast a background.
This demo explores two ways to overcome this long standing issue and get 1bit alpha or 255bit alpha by color difference interpolation.
- 1bit alpha: Uses green rgb(0,255,0) background that is simply keyed, can be used on boxed UI with less re