Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Texture display wrong in IOS browsers #47

Open
ehipasika opened this issue Oct 5, 2016 · 10 comments
Open

Texture display wrong in IOS browsers #47

ehipasika opened this issue Oct 5, 2016 · 10 comments
Labels

Comments

@ehipasika
Copy link

I found in ScupltGL can not display correctly in all IOS browers, but IOS claims it support WEBGL, and i test another webgl matcap sample base on matcap, and it's work fine.
pls check this link for test video:
https://vimeo.com/185645917

@stephomi
Copy link
Owner

Thanks for the report, unfortunately I have an android,, so for now I can't really debug it.

@stephomi stephomi added the bug label Oct 12, 2016
@as02700
Copy link

as02700 commented Oct 18, 2016

something wrong with me too.
when i // if (this._showGrid) this._grid.render(this)
the texture can not display correctly( look like color lump / color spot ).
the video : https://youtu.be/YX-jsQu-4gI

my env is iphone5( IOS8.3 )

@KiaraGrouwstra
Copy link

This commit appeared to have broken the shader on some iOS environments.

@stephomi
Copy link
Owner

Thanks, I suspect something wrong with shader derivatives, can you try https://goo.gl/m9C6Bx and see if it works?

@as02700
Copy link

as02700 commented Oct 19, 2016

yes, it work in my iphone5( IOS8.3 ) ( https://goo.gl/m9C6Bx ). seen like as desktop

@ehipasika
Copy link
Author

ehipasika commented Oct 19, 2016

Yes, it works fine in IOS10 Chrome. So if it means your suspect not established?
In my further test for SculptGL shader in IOS10 Chrome, I found PBR,matcap,normal shader are also not work well, but UV shader is OK.
So I guess the bug is from Reflection/Environment Mapping, pls check Jaume Sanchez's blog about Spherical reflection (or environment) mapping (SEM)
https://www.clicktorelease.com/blog/creating-spherical-environment-mapping-shader
Someone also report a bug in IOS8, and they solve the problem, but Jaume Sanchez's tutorial is base on three.js framework, I don't know if it work in native webgl.
Someone also report a bug in IOS8, and the solve the problem, but Jaume Sanchez's tutorial is base on three.js framework, I don't know if it work in native webgl.

@stephomi
Copy link
Owner

I'm almost sure it's not the matcap shader as PBR and normal have the issue too.
It can be many things, but until I debug on an iOS for real, it's tricky to solve :p.

@as02700
Copy link

as02700 commented Oct 21, 2016

i came to ( https://www.browserstack.com/ ) test on IOS online within a free account.
it can test on locale need a plugin

i think it can help you

@stephomi
Copy link
Owner

Ok I'll see if I can reproduce and if it's not too complex to setup!

@selfsame
Copy link

I believe this was fixed with 8414c65

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants