iiceman Posted July 30, 2015 Share Posted July 30, 2015 [.WebGLRenderingContext-065A7098]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. Hey folks, I get the error message when using the godrays and looking into them in a certain angle. I didn't manage to create it in a playground yet, but here is the current online version: http://p215008.mittwaldserver.info/space/ If you look in the direction of the sun and lower the camera angle the skybox disappears and I get that error. Any idea whats wrong here or how I could debug that? I attached pictures of how it should look like and how it actually looks like. Quote Link to comment Share on other sites More sharing options...
davrous Posted July 30, 2015 Share Posted July 30, 2015 Hi, I don't reproduce the issue under MS Edge, nor Firefox or IE11 but I do in Chrome indeed. This looks like to be a Chrome specific problem then. I've asked Julien who wrote this shader to have a look. Bye, David Quote Link to comment Share on other sites More sharing options...
iiceman Posted July 30, 2015 Author Share Posted July 30, 2015 Awesome, thanks! Chrome is messing up a lot lately. I might actually consider giving Edge a try when installing Windows 10 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 30, 2015 Share Posted July 30, 2015 That is a GOOD idea ;D Quote Link to comment Share on other sites More sharing options...
Dad72 Posted July 30, 2015 Share Posted July 30, 2015 MS Edge is interesting after test and windows 10 also is really good Quote Link to comment Share on other sites More sharing options...
Dad72 Posted July 30, 2015 Share Posted July 30, 2015 Après d'autres tests avec Edge: a problème avec Hand.js. et aussi avec overfow: auto ne fonctionne pas. Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted July 31, 2015 Share Posted July 31, 2015 Hey iiceman I'm trying the find the problem but it's too hard to debug with the minified version of Babylon.js. Can send me the project as PM ? I'm mean models etc. ? Quote Link to comment Share on other sites More sharing options...
iiceman Posted July 31, 2015 Author Share Posted July 31, 2015 It should be all here: https://github.com/iiceman40/BabylonDev/tree/master/space there are other folders in there, too, but except for the babylon lib it should all be in the space folder. If you prefer a zipped version by PM I can do that tonight Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted July 31, 2015 Share Posted July 31, 2015 No problems, I'm working on it I found an issue here : https://github.com/jbouny/ocean/issues/7 with a demo http://threejs.org/examples/#webgl_mirror that shows exactly the same error on Chrome I'm still looking for and I come back iiceman 1 Quote Link to comment Share on other sites More sharing options...
iiceman Posted August 2, 2015 Author Share Posted August 2, 2015 Any success yet? Do you still need the zipped project? Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted August 3, 2015 Share Posted August 3, 2015 I searched for a long time and impossible to find the problem =O I don't understand the warning message in this contextI'm still looking for. Don't need the zip, I'm using the code in the repo iiceman 1 Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted August 3, 2015 Share Posted August 3, 2015 Okay, the warning comes from:this._volumetricLightScatteringRTT.customRenderFunction (line 305)even if the code block is empty. I'm still looking for Quote Link to comment Share on other sites More sharing options...
iiceman Posted August 3, 2015 Author Share Posted August 3, 2015 That sounds like progress! Can I do anything to help? Should I try to recreate it in the playground again? Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted August 4, 2015 Share Posted August 4, 2015 Hey, I'm taking a look with Deltakosh, can you reproduce the problem in the playground for us with a minimal code ?Thanks a lot ! Quote Link to comment Share on other sites More sharing options...
iiceman Posted August 4, 2015 Author Share Posted August 4, 2015 http://www.babylonjs-playground.com/#QPEFA#1 it seems it has to do with the godrays beeing behind the skybox? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 4, 2015 Share Posted August 4, 2015 Just need to scale the skybox a bit: http://www.babylonjs-playground.com/#QPEFA#2 I can reproduce the bug as well...working on it iiceman 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 4, 2015 Share Posted August 4, 2015 Ok so this is definitely a bug when a cube texture is used. And this is linked to a chrome bug. @Luaacro: can you fill a bug on chrome bug site referencing this PG? Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted August 6, 2015 Share Posted August 6, 2015 Reported, I come back if I have news iceeman, you should definitely use Edge Quote Link to comment Share on other sites More sharing options...
iiceman Posted August 6, 2015 Author Share Posted August 6, 2015 Thanks guys for looking into that issue! I really appreciate it! Well, I'll have a look at Edge for sure as soon as my windows tells me that I can update to windows 10. adam, GameMonetize and julien-moreau 3 Quote Link to comment Share on other sites More sharing options...
iiceman Posted November 8, 2015 Author Share Posted November 8, 2015 Since I didn't manage to switch to edge yet: anything new on that issue? @Luaacro: Where can I follow the bug report that you filed? Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted November 10, 2015 Share Posted November 10, 2015 Hey iiceman, I used this page to post the issue : https://support.google.com/chrome/answer/95315?hl=enI linked the playground example and explaned the problemI never got feedback from the team Can you try this method to fix de problem is it does ? : godrays.excludedMeshes.push(skybox); I posted again but here : https://code.google.com/p/chromium/issues/detail?id=553993&thanks=553993&ts=1447163564 Quote Link to comment Share on other sites More sharing options...
iiceman Posted November 10, 2015 Author Share Posted November 10, 2015 Thanks for the update. I thought I give your suggestion a try. I updated to the latest babylon version to check that I didn't break anything yet, I look around... everything seems fine... I try to find the angle where the background disappears... can't find it O_o Soooo seems like it's fixed with the new babylon version, good job guys! It still happens with the online version..so they didn't fix anything in chrome..must be really the babylon version. Anyways..everything is good now! Quote Link to comment Share on other sites More sharing options...
bentwonk Posted March 14, 2017 Share Posted March 14, 2017 any news on this? I am seeing it in the chrome skybox demos Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 14, 2017 Share Posted March 14, 2017 Hello, which OS are you on? can you share a link to one of the faulting demo? Can you share your console logs? 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.