Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shader errors in webgl_buffergeometry_instancing_lambert #18801

Closed
5 tasks done
moraxy opened this issue Mar 3, 2020 · 1 comment · Fixed by #18802
Closed
5 tasks done

shader errors in webgl_buffergeometry_instancing_lambert #18801

moraxy opened this issue Mar 3, 2020 · 1 comment · Fixed by #18802

Comments

@moraxy
Copy link
Contributor

moraxy commented Mar 3, 2020

Rendering works, but the shaders cause errors:

THREE.WebGLProgram: shader error:  0 35715 false gl.getProgramInfoLog
Varyings with the same name but different type, or statically used varyings in fragment shader are not declared in vertex shader: vHighPrecisionZW�  
WebGL: INVALID_OPERATION: useProgram: program not valid
WebGL: INVALID_OPERATION: drawElementsInstancedANGLE: no valid shader program in use
[.WebGL-0x1a706ef5f700]GL ERROR :GL_INVALID_OPERATION : glDrawElementsInstancedANGLE: attempt to draw with all attributes having non-zero divisors
WebGL: too many errors, no more errors will be reported to the console for this context.

git bisect blames fb7edb9 / #18696 which introduced vHighPrecisionZW

Three.js version
  • Dev
  • r114
Browser
  • Chrome
  • Firefox
OS
  • Linux
@Mugen87
Copy link
Collaborator

Mugen87 commented Mar 3, 2020

Rendering works, but the shaders cause errors:

Shadows are actually broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants