You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
headless-gl doesn't support image data or implement the canvas 2D API. If you want to use a texture, you'll need to unpack the pixels into a typedarray and initialize it manually.
Texture does not work without any error logging.
I use data from this :
//create image data
var canvas = document.createElement('canvas'),
ctx = canvas.getContext('2d');
ctx.drawImage(image, 0, 0);
Then pass image to texImage2D
The text was updated successfully, but these errors were encountered: