Hersir Posted July 12, 2017 Share Posted July 12, 2017 @Sebavan Hi, checked new examples of PBR , but found some issues. It doesn't work in safari mac, probably because it uses webgl1, works great in other browsers but they have webgl2. Example On safari sphere is just black. Dont get any errors just some warnings from webgl: [Log] BJS - [08:31:35]: Babylon.js engine (v3.0) launched (babylon.js, line 3) [Warning] WebGL: INVALID_OPERATION: texImage2D: type HALF_FLOAT_OES but ArrayBufferView is not NULL (babylon.js, line 5, x54) [Warning] WebGL: INVALID_FRAMEBUFFER_OPERATION: readPixels: attachment type is not correct for attachment (babylon.js, line 6) [Warning] WebGL: INVALID_FRAMEBUFFER_OPERATION: readPixels: attachment type is not correct for attachment (babylon.js, line 6) [Warning] WebGL: INVALID_FRAMEBUFFER_OPERATION: readPixels: attachment type is not correct for attachment (babylon.js, line 6) [Warning] WebGL: INVALID_FRAMEBUFFER_OPERATION: readPixels: attachment type is not correct for attachment (babylon.js, line 6) [Warning] WebGL: INVALID_FRAMEBUFFER_OPERATION: readPixels: attachment type is not correct for attachment (babylon.js, line 6) [Warning] WebGL: INVALID_FRAMEBUFFER_OPERATION: readPixels: attachment type is not correct for attachment (babylon.js, line 6) [Warning] WebGL: drawElements: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete', or it is a float/half-float type with linear filtering and without the relevant float/half-float linear extension enabled. (babylon.js, line 5, x196) [Warning] WebGL: too many errors, no more errors will be reported to the console for this context. (babylon.js, line 5) Quote Link to comment Share on other sites More sharing options...
Sebavan Posted July 12, 2017 Share Posted July 12, 2017 I thought I fixed it yesterday :-( I am checking now. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted July 12, 2017 Share Posted July 12, 2017 Yup, probably a cache issue on my side when I though I fixed it... at least I can repro. I ll fix it ASAP. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted July 12, 2017 Share Posted July 12, 2017 Will be deployed by @Deltakosh tomorrow, fix is here https://github.com/BabylonJS/Babylon.js/pull/2509 Thanks a lot for reporting. I tested my fix on Chrome yesterday on my Mac (The window was still open...) Hersir 1 Quote Link to comment Share on other sites More sharing options...
Hersir Posted July 12, 2017 Author Share Posted July 12, 2017 Thanks for fix 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.