Hello everyone
I created a car game and its working great on all devices and browsers besides on samsung internet browser I have a weird bug my simple low poly car model is blinking white all time with some interval of time (not all model just some of faces) at least on Samsung S6, S7, Galaxy Pad, J3, J5, J7.
for all mobile devices i disableWebGL2Support = true
models i used is .obj format with .jpg textures with one mesh
maybe some one have the same or similar bug and you can help me
HI Wingnut thx for quick answer.
i tried your changes and it still blinking.
but if i set scene.clearColor = BABYLON.Color3.Green().toColor4();
my car now blinking green)))
Hi again. Interesting find. Thx for testing that stuff.
Iāve done a LITTLE bad research, so far. Letās hope smarter people comment soon.
Things I have found:
Somewhere, someone said⦠set: engine.getCaps().highPrecisionShaderSupported = false; (as a test)
Another said try: var engine = new BABYLON.Engine(canvas, true, {disableWebGL2Support: true });
Another said⦠please send us the output of: alert("engine.getGIInfo(): renderer: " + engine.getGlInfo().renderer + ", vendor: " + engine.getGlInfo().vendor + ", version: " + engine.getGlInfo().version); (from one of the devices that has āblinking whiteā problem)
The more info we can gather about the capabilities/OS versions⦠for devices which show the āblinking white stuffā, the more chance someone can tell us WHY it happens.
Only one thing found on the web⦠an older post about Pixi.js. link. They seem to mention: PIXI.glCore.VertexArrayObject.FORCE_NATIVE fairly often, but I donāt know if there is a similar command⦠for BabylonJS.
I found these things⦠by searching the web, and searching the old forum for āAndroidā link and āSamsungā link. There are many returns for both of those searches, and I have only STARTED browsing the returned titles and content. You may wish to do more of that.
Iām not sure what else to try, but I have low experience in this subject. Stay tuned for more/wiser comments. If you discover more, please tell us. THX!
Hi
i set engine.getCaps().highPrecisionShaderSupported = false; and no changes disableWebGL2Support: true was already true for all mobile devices
and i set PIXI.glCore.VertexArrayObject.FORCE_NATIVE to true because i use PIXI for 2d GUI
and here is alert
hi sorry for suuuuuuuuuuuuuuuuper late response
i apply all your ideas and set scene.clearColor = new BABYLON.Color4(0, 0, 0, 1);
and its works for me thank you very mush))