Kesshi Posted November 19, 2015 Share Posted November 19, 2015 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 On my desktop the same test works correctly. The ssao example on babylonjs.com also doesn't work on Ipad. Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted November 19, 2015 Share Posted November 19, 2015 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.