Jump to content

SSAO not working in IOS Safari


Kesshi
 Share

Recommended Posts

Somebody has an idea why SSAO is not working in Ipad? (tested with IOS 9.1)

I can't see any effect if i enable SSAO. ... only a huge performance drop but this was expected :rolleyes:

On my desktop the same test works correctly.

 

The ssao example on babylonjs.com also doesn't work on Ipad.

Link to comment
Share on other sites

Hi Kesshi,

 

Happy to see that you are a SSAO user ! :)

 

These problems can happen if one of these features isn' supported on the device:

    - Floating point & render target textures (have to check if iPads support it but I think yes)

    - The SSAO shader: contains some features that are not necessary allowed/supported in all devices. Things such as a "for loop" with non-uniform flow controls.

 

For the performances, don't forget to compute SSAO in a lower resolution by passing a ratio object in the constructor like:

var ssao = new BABYLON.SSAORenderingPipeline("ssao", scene, { ssaoRatio: 0.25 /* or 0.5 */, combineRatio: 1.0 });

I'll try to find a moment later if I can update the shader and try to make it working everywhere, but not sure to success =S

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