pichou Posted December 18, 2017 Share Posted December 18, 2017 Hey everyone, I have something weird happening with the game I develop. See in this test page : http://test.wazana.io/ ( it is a special preview for you! ) The materials of the units and buildings are flashing. I observed this behavior only on chrome (working normal on IE, Edge and Mozilla) and not on all computers I tested (maybe there is a problem with a specific version of chrome). I use BABYLON.MultiMaterial on units and buildings because they always have 2 colors so one material for each color. But when it flashes on Chrome, this is either one color or the other on the entire mesh. I put a video attached which show the bug in case you don't see it on the test page. (weird video format but playable with VLC) Bye, Pichou chromematerialbug.webm Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 18, 2017 Share Posted December 18, 2017 It is a known bug of Chrome 63: https://bugs.chromium.org/p/chromium/issues/detail?id=792966 Official bjs 3.1 added a fix for it Quote Link to comment Share on other sites More sharing options...
pichou Posted December 18, 2017 Author Share Posted December 18, 2017 Hi deltakosh, I already use the 3.1 version! I tried with the 3.2 and it did stop the bug. Although I have this error in my console now : ```babylon.custom.js:6 WebGL: INVALID_OPERATION: uniform1i: location not for current program``` Is it safe to use the 3.2 preview? I haven't notice any bug for now. Thanks pichou Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 18, 2017 Share Posted December 18, 2017 It is safe pichou 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted December 19, 2017 Share Posted December 19, 2017 When I first saw this thread title, I thought... "We have chromeMaterial? Cool!" ChromeMaterial might be more handy to use... than reflectionTextures or shaders stolen from the CYOS app. But, you guys speak-of a DIFFERENT type-of chrome material. heh. ohhhhh, I understand NOW. (This type of comedy is called "low-hanging fruit". It's when Wingnut attempts to make real comedy... from something that is only mildly-amusing.) Quote Link to comment Share on other sites More sharing options...
pichou Posted December 19, 2017 Author Share Posted December 19, 2017 But this is an idea! If someone plan to make a "need for speed" game with babylon, he will definitely need a chrome material for the cars tuning! And that would be cool to have a chrome map ground in wazana too! 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.