Sign in to follow this  
Jon DevoS

Problem with diffuseTexture

Recommended Posts

Hi guys i have a problem with material diffuseTexture here PG https://www.babylonjs-playground.com/#ICZEXW#1
or every another PG where used
diffuseTexture ( not necessary  its must be texture atlas), or loaded obj model with textures on some mobile devices firefox or default browsers i see only black cube without loaded textures (diffuseColor works) but if i set disableWebGL2Support = true textures working good.
Can u help me?

Share this post


Link to post
Share on other sites

yes its works on many of mobile devices and browsers
but on someones its not working like:

on xiaomi 1s(android 4.3) firefox not working but on xiaomi 4x(android 7.1.2) with the same version firefox its working good
on Samsung S5(Android 6.0.1) default browser not working and iPhone 6(iOS 8.4.1) problem and i think someone another

Share this post


Link to post
Share on other sites

So definitely driver related.

You could check browser agent and disable webgl2 on the broken devices you target and you could try to raise the issue with the different browser and/or hardware vendors.

Unfortunately it is not in our hand to fix it, or you ll have the fix ASAP 😉

Share this post


Link to post
Share on other sites

The issue is it is per device/os version.

Something is not working in their implementation of webgl2 on their platform. So either you ll record the failing browser agent in a list and you check against this list or you could try to render one frame in webgl2 and read the pixel by code to check if it is green or black for instance.

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.