Nodragem Posted November 29, 2018 Share Posted November 29, 2018 When running on Silk Browser on Amazon Kindle Fire 7 the Mesh Merge function results in garbled mesh artifacts. Note that the merging works very well on Android and Apple device (using Chrome, or Safari). I am going to report it on Github, but if you have reasons to think that this is not a bug, please let me know. Quote Link to comment Share on other sites More sharing options...
Nodragem Posted November 29, 2018 Author Share Posted November 29, 2018 So I try to reproduce the bug on the Playground, and I could not do it simply. For now I succeeded to reproduce the texture black artefacts but not the texture green artefact. I could not reproduce the geometry artefacts either (I mean the artefact that change the geometry of the maze). The texture black artefact seems to come from the use of BABYLON.PBRMetallicRoughnessMaterial; see the playground here: https://playground.babylonjs.com/#INZ0Z0#30 This is how the PG is rendered on the Amazon Fire 7: The problem occurs even without the mergeMeshes() call. Quote Link to comment Share on other sites More sharing options...
bghgary Posted November 29, 2018 Share Posted November 29, 2018 @Nodragem Can you go to http://webglreport.com/ on your device and post the results? Quote Link to comment Share on other sites More sharing options...
Nodragem Posted November 29, 2018 Author Share Posted November 29, 2018 Yep I will do but I am more concerned about the geometry artefacts which seems to result from mergeMeshes(); Concerning the black artefact I can use StandardMaterial for now Quote Link to comment Share on other sites More sharing options...
bghgary Posted November 29, 2018 Share Posted November 29, 2018 Sure. Ping if you find a way to repro the geometry issue with a playground. Quote Link to comment Share on other sites More sharing options...
Nodragem Posted November 29, 2018 Author Share Posted November 29, 2018 I just saw that there is a dedicated section for bugs. How can I move my thread to that section? Quote Link to comment Share on other sites More sharing options...
bghgary Posted November 29, 2018 Share Posted November 29, 2018 Either way. This is kind of a gray area since we don't know if it actually is a bug in Babylon or something with the Silk Browser or the drivers on the Fire. Quote Link to comment Share on other sites More sharing options...
brianzinn Posted November 30, 2018 Share Posted November 30, 2018 Have you tried dialing back some settings, like disabling webgl2 in engine options or engine.getCaps().highPrecisionShaderSupported = false; It may be possible that the BabylonJS engine needs to account for a bug in the the browser/driver as @bghgary has suggested. When I look at your first screenshot it looks like z-fighting with 2 planes - those misplaced triangles look like a face that does not belong. I've tried mesh merging and was happier with more fine grained control using meshes generated manually (from data files). I was originally inspired by some code from this project (/scripts/PlanetChunckMeshBuilder), which is efficient and produces minimum vertices (ie: skipping occluded faces) : http://svenfrankson.github.io/PlanetBuilderWeb/index.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.