Jump to content

WebGL Error with Godrays: GL_INVALID_OPERATION


Recommended Posts


[.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:




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.



Link to comment
Share on other sites

  • 3 months later...

Hey iiceman,


I used this page to post the issue : https://support.google.com/chrome/answer/95315?hl=en

I linked the playground example and explaned the problem

I 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

Link to comment
Share on other sites

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! :D 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! :D

Link to comment
Share on other sites

  • 1 year later...

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...