You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DoubleSided materials render incorrectly in some Android devices after 0.6.0 #740
changed the title [-]Non-rough surfaces are too shinny in some devices after 0.6.0[/-][+]Smooth surfaces are too shinny in some devices after 0.6.0[/+]on Sep 5, 2019
This is very strange. First, the problem only appears with the last of four meshes in the file. The color is gone because the diffuse light is down to nearly zero anywhere that is facing a light source (but only on Android). The glb you exported has lost most of the texture detail, so I'm working from the original glTF, but it exhibits the same behavior. I thought at first it might be a gl precision issue, but that's had no effect.
Two questions: first, how do you spectorjs your phone? second, what error are you seeing?
You can't spectorjs your phone. And I'm not seeing any error. I just noticed that the mesh that is being drawn first is the one that appears metallic in the phone.
Welcome to the sad world of lack of WebGL debug tools 🙌
changed the title [-]Smooth surfaces are too shinny in some devices after 0.6.0[/-][+]DoubleSided materials render incorrectly in some Android devices after 0.6.0[/+]on Sep 8, 2019
Activity
[-]Non-rough surfaces are too shinny in some devices after 0.6.0[/-][+]Smooth surfaces are too shinny in some devices after 0.6.0[/+]elalish commentedon Sep 6, 2019
This is very strange. First, the problem only appears with the last of four meshes in the file. The color is gone because the diffuse light is down to nearly zero anywhere that is facing a light source (but only on Android). The glb you exported has lost most of the texture detail, so I'm working from the original glTF, but it exhibits the same behavior. I thought at first it might be a gl precision issue, but that's had no effect.
mrdoob commentedon Sep 6, 2019
😮
mrdoob commentedon Sep 6, 2019
Hmm, that was an interesting observation. It made me spectorjs it and, it seems to me that the problem is with the first drawcall.
elalish commentedon Sep 6, 2019
Two questions: first, how do you spectorjs your phone? second, what error are you seeing?
mrdoob commentedon Sep 6, 2019
Well, it just so happens that... from all the models available in http://model-viewer-tester.glitch.me/ this one is the first one that doesn't draw in a single drawcall.
mrdoob commentedon Sep 6, 2019
You can't spectorjs your phone. And I'm not seeing any error. I just noticed that the mesh that is being drawn first is the one that appears metallic in the phone.
Welcome to the sad world of lack of WebGL debug tools 🙌
elalish commentedon Sep 6, 2019
ah, that is interesting. Thanks.
mrdoob commentedon Sep 6, 2019
I'm going to look for more glb models that have multiple parts.
mrdoob commentedon Sep 6, 2019
I've added Lantern which has multiple parts and it renders fine on mobile... 😑
[-]Smooth surfaces are too shinny in some devices after 0.6.0[/-][+]DoubleSided materials render incorrectly in some Android devices after 0.6.0[/+]