-
Notifications
You must be signed in to change notification settings - Fork 911
Closed
Labels
Description
Great library!
I don't really like to pollute issues, but I guess it's a good question to ask.
I see that you keep a single canvas with a WebGL context, that you blit per scene to canvas with 2d context.
Another way of doing it would be to have a fullscreen canvas in the DOM, on which each scene would blit at the good position using scissoring. My guess is that you didn't go this way because it breaks the rendering order of the elements in the DOM.
However, did you investigate on the performance impact this call has compared to blitting directly into a fullscreen WebGL context?
I am trying to setup a quick test to see the speed difference, but if you have already done that test it would be amazing if you could share the results.
Reactions are currently unavailable