[HTML5] Away3D with Canvas


is it possible to use Away3D when OpenFL is exported to canvas? We would like to have all UI rendered with canvas and only Away3D using WebGL. Right now Away3D is only showing a black screen when instantiated with canvas and there are no error reports in the console. Is there a way to make them work together?

Thanks in advance!


You cannot use Stage3D when publishing your content using -Dcanvas, but using cacheAsBitmap = true or using bitmapData.draw may force your OpenFL objects to render using canvas. This would then be layered with your 3D scene.

1 Like