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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.