Jump to content

Skybox huge impact on performance (on mobile browsers)


gamestudiohx
 Share

Recommended Posts

With your latest changes I got pretty big speedup - from 5 to ~25fps but still, when I remove skybox from scene I'm getting 60fps.

And I was trying all kinds of reflectionTexture.coordinatesMode (Texture.CUBIC_MODE too - in this case viewdir was used I guess ?!)

Anyway, its still unusable for me so I guess I'll use layer as a background image for current project.

 

Do you have lighting enabled or disabled on your skybox material?

On my iPad3 i get 60 FPS on the PG environment demo: http://www.babylonjs-playground.com/?13 .

When i enable lightting (skyboxMaterial.disableLighting = false;) it crashes down to ~20 FPS

 

Link to comment
Share on other sites

Hmmm, it's great to have improved the shader, but now we have something which doesn't work anymore. With the new shader version, the bump doesn't influence correctly the reflection anymore...

The more powerfull the reflection is (via level or fresnel), the less the bump texture has influence on it, and that is a wrong behavior.

 

DK, do you think you'll be able to keep your optimisation while still having bump acting correctly ?

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