Jump to content

Viewport clipping on low end devices?


Keslinger
 Share

Recommended Posts

I think this may be a bug with the alpha version of BJS, but before I put my foot in my mouth I thought I'd ask if I'm doing something wrong.

One of my previous PG's works fine on desktop ( http://www.babylonjs-playground.com/#1XQ32V ), but on my Nexus 6, the camera viewport is clipped to the bottom left quarter of the screen.  This PG used to work with the previous version of BJS on my device, so I'm wondering if something new has to be done for lower end devices?

 

 

Link to comment
Share on other sites

Yeah, my apps do the same thing, I was just using the PG as the simplest example of something that used to work.

After further investigation, I've come to the conclusion that Chrome/Google did something with 58.0.3029.83.  Viewing this PG with Firefox on my N6 works just fine.  I will say that some of my other testbeds (like PlayCanvas) continue to work as before on Chrome, so perhaps Chrome changed something that disagrees with BJS's shaders (at least on the N6)?  To verify this, I rolled back to the factory install of Chrome (51.0.2704.90) and the issue was no longer there.  Updating via the Store (back to 58.0.3029.83) and the clipping problem re-emerged.

I'm kind of at a loss at next steps.  I removed the skinned meshes and left just the grid plane in hopes that the fallback shader (too many uniforms in the PG) was causing the problem, but no dice.  I guess I can just wait until the next release of Chrome for Android and hope they address this change for my device?

Unless you/I have an eureka moment, I'll close this.  Any more thoughts?

 

Edited by Keslinger
Additional information
Link to comment
Share on other sites

  • 2 weeks later...

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...