I am using a library for drawing Normal-Mapped images on a HTML-Canvas. It does so with Web-GL Acceleration. (NormalMap.js)
However, I would also like to draw onto the canvas using a 2D Canvas Context (Rects, images, text, etc).
How can this be achieved? The library fails to work if a 2D Context is created, throwing the error webgl not supported!
(without the second context the library functions perfectly.)
One way to do this might be to overlay another transparent canvas, but is there a better way?
Thank you!