Jump to content

Multiple WebGL Canvases


bQvle
 Share

Recommended Posts

Hi,

I know this didn't work earlier, I've had my fights trying to figure out how to work around this. Today I had another fight, and out of pure desperation i tried to instantiate multiple webGL canvases, and guess what, it worked. (flawless).

I can't find anything official about this in the changelogs? Is this an fortune side-effect of 3.0.9? should i still be cautious? 

Link to comment
Share on other sites

I dont remember when exactly was introduced that feature. Just remember to destroy() your renderer if you drop the canvas.

It doenst work everywhere, though. Not all mobile browsers are capable of handling multiple webgl contexts. Also, in last 6 months I saw multiple problems with it, all were fixed.

Link to comment
Share on other sites

Also WebGL?

Its funny, becasue when I testet it before, one of the WebGL canvases would crash instantly, without even using the second WebGL renderer. But maybe i did something wrong back then. Anyways I'm really happy it works now, that just saved me alot of "ugly" :)  

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...