Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOs Mobile render error #334

Closed
bcanteneurEiffage opened this issue Mar 31, 2021 · 6 comments
Closed

iOs Mobile render error #334

bcanteneurEiffage opened this issue Mar 31, 2021 · 6 comments

Comments

@bcanteneurEiffage
Copy link

Actual behavior or exception details:

When rendered on a mobile (iOs) web browser the model displays a lot darker than in computer web browsers.
image0

Here is the same page but on computer :
image

Version of the xBIM Viewer:

"@xbim/viewer": "2.0.1-pre202103091921"

Minimal file to reproduce the issue:

Bug is not dependent of a wexbim model but happens everytime

@andyward
Copy link
Member

Weird because it has been tested on IoS Safari and Chrome

It would be useful to get the stats on the level of Webgl support for the two different browsers. You can use the tool a https://webglreport.com/?v=2 to get the data

@bcanteneurEiffage
Copy link
Author

Mobile browser :
image
image

@bcanteneurEiffage
Copy link
Author

Computer :
image
image

@martin1cerny
Copy link
Member

The viewer prefers WebGL2, so your mobile iOS is using different shaders than your computer. There might be some discrepancy between our shaders implementations. Will look at it in the next few days.

@bcanteneurEiffage
Copy link
Author

Ok I enabled WebGL2 and it looks better but still different from computer
image

@andyward
Copy link
Member

andyward commented Jan 5, 2022

This should have been fixed with #367

Was down to a precision issue affecting mobile viewer engines

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

No branches or pull requests

3 participants