realism-effects icon indicating copy to clipboard operation
realism-effects copied to clipboard

Support for mobile devices

Open MajorMeerkatThe3rd opened this issue 1 year ago • 5 comments

First of all, amazing what you have been doing here! Thank you for all your work here.

I was wondering if there will also be support for this on mobile. I tested with the AO effects and there seem to be issues on my Android device. Do you know a workaround for this?

MajorMeerkatThe3rd avatar Aug 03 '23 09:08 MajorMeerkatThe3rd

Doesn't seem to work on iOS Safari either.

kitaedesigns avatar Aug 16 '23 22:08 kitaedesigns

Thanks! Yes, mobile support is always a priority. There are always platform-specific issues when implementing features so I have to look into these bugs before releasing new versions. Which AO effect are you using? If you are using SSAO (N8AO) then you should use the one from the N8's repository: https://github.com/N8python/n8ao as it's going to be deprecated in this repo. But I'll also look into the issues with the AO effect before releasing.

0beqz avatar Aug 29 '23 17:08 0beqz

Thanks for looking into this @0beqz!

I noticed this issue for both approaches. I think it might have something to do with how the depth is computed.

MajorMeerkatThe3rd avatar Aug 30 '23 10:08 MajorMeerkatThe3rd

For some reason seems to work fine on an iphone 8 plus running ios 15.5 but not a 13 pro running 17.1

adamDeluxe avatar Oct 02 '23 13:10 adamDeluxe

@0beqz The issue seems to be with devices that only support WebGL1. On some iOS devices with Chrome, there is still WebGL1 used. And of course there some of the shader code doesn't work as it expects GLSL3 functions to work.

MajorMeerkatThe3rd avatar Oct 03 '23 08:10 MajorMeerkatThe3rd