Canvas 3D drawing using both 2D and 3D context

前端 未结 4 1585
日久生厌
日久生厌 2020-12-13 21:09

Since the webgl/opengl doesn\'t support text drawing, so it possible to draw 3D object using 3D context and text drawing using 2D context ?

4条回答
  •  失恋的感觉
    2020-12-13 21:47

    As stated, you cannot do this.

    However you can put one canvas on top of another and draw to them separately. I've done this before and it can work out quite well.

提交回复
热议问题