Sign in to follow this  
ianc

Does Panda auto detect the renderer used?

Recommended Posts

Hi,

I have started using Panda and it seems a fairly decent engine. I wanted to ask does Panda auto detect which renderer it is using as I am testing in chrome with ?debug and it shows that it is using canvas rather than webGL which I thought it would use in browser like Chrome.

thanks

Ian

Share this post


Link to post
Share on other sites

hi ianc,

In panda you have to enable webgl rendering in the config file to make it work in your app. So webgl is not automatically enabled. However there is a fallback mechanism to canvas rendering if you enable webgl and for some reason the browser does not support it.

You can find an example of the config file here: http://www.pandajs.net/cheatsheet/9e4b6dd58091febd3d31.html

stephan

 

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.