Kingtous / dora-canvas-test

Test pages to overcome the limitations of the maximum webgl canvas for Dora AI.

Home Page:https://kingtous.github.io/dora-canvas-test/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Three.js webgl test

A WebGL test to overcome the limitations of the maximum 16 webgl canvas.

Contents:

  • index.html try to use a webgl2 canvas to be an external texture for the other webgl2 canvas.
  • webgl-mcanvas.html try to use a singleton offscreen canvas to render images to multiple 2d canvas.

Both of them works but for Safari, Firefox, both of drawImage and texImage2D will transfer the texture data from GPU to CPU, which brings really bad performance.

About

Test pages to overcome the limitations of the maximum webgl canvas for Dora AI.

https://kingtous.github.io/dora-canvas-test/


Languages

Language:JavaScript 99.9%Language:HTML 0.1%