paleRider Posted November 22, 2017 Share Posted November 22, 2017 Dear people of this awesome forum: Here I am again, looking for some help. My sw development (of course with BJS) uses PBR materials (we are the greatest fans) . The case is that this is a cross-browser multi-platform project. My scene looks great on desktop: MS Windows (Firefox and Chrome / I'm not using/testing MS Explorer, Edge nor Opera) and macOSX-Safari. It also looks impressive on iOS-Safari, but fails to be so fine in Android-Chrome as my geometries are all show in black. I know this is a problem with my code, as the different PBR examples of BJS look perfect in Andorid-Chrome, but,...what a weird one. Any starting point with this? Thanks for your time. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 22, 2017 Share Posted November 22, 2017 Could you place a repro in the pg ? I guess simply loading one of your material on a plane should do the trick. If this works fine, it might come from you environment map. Thx paleRider 1 Quote Link to comment Share on other sites More sharing options...
paleRider Posted November 23, 2017 Author Share Posted November 23, 2017 Dear Sebavan: A problem with the environment was my first thought, but how can be it working on a Platform+Browser combination and not in another one? Non consistent behaviors are difficult to manage/solve. Best regards. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 23, 2017 Share Posted November 23, 2017 Might be related to webgl version, feature support, float vs half float vs int support and so on, so the combination browser/platform even if not friendly to troubleshoot is yet pretty common. I ll help solving it if you can repro in the pg. paleRider 1 Quote Link to comment Share on other sites More sharing options...
paleRider Posted November 23, 2017 Author Share Posted November 23, 2017 Dear Sebavan: I've just checked my development changing my dds (generated with the IBLBaker tool) with the one present in BJS PBR example and now the environment is shown on Android-Chrome. Anyway, how can I attach my own assets to a PG? Best regards? Quote Link to comment Share on other sites More sharing options...
Arte Posted November 23, 2017 Share Posted November 23, 2017 Hi @paleRider This may be help you with attaching assets. paleRider 1 Quote Link to comment Share on other sites More sharing options...
paleRider Posted November 23, 2017 Author Share Posted November 23, 2017 Hi Arte: Sadly GitHub seems not support dds files. Quote We don’t support that file type. with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. Anyway, maybe I'm doing something wrong! Quote Link to comment Share on other sites More sharing options...
RaananW Posted November 23, 2017 Share Posted November 23, 2017 The link to a DDS file should work anyhow (for example - https://raw.githubusercontent.com/BabylonJS/Babylon.js/Playground/textures/environment.dds ). paleRider 1 Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 23, 2017 Share Posted November 23, 2017 Can you share the DDS on dropbox or other? I can then repro on my local machine. paleRider 1 Quote Link to comment Share on other sites More sharing options...
paleRider Posted November 24, 2017 Author Share Posted November 24, 2017 Thanks, Sebavan and RaananW for your support. Presuming this weird behavior must be due to something in the DDS binary format, I'm contacted the guy in charge of IBLBaker project. He's guiding us in order to solve the issue. I'll let you know as soon as we know something about it. Best regards. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 24, 2017 Share Posted November 24, 2017 No problem, but please let us know if there is any trick so that we can add it to the documentation for everybody else :-) 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.