-
-
Notifications
You must be signed in to change notification settings - Fork 35.8k
Shader issue in WebGLBackend with WebXR when using Line2 and LineSegments2 #31084
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
Labels
Comments
I've debugged the generated shader. And
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
I am trying to migrate the WebXR controller line to WebGPURenderer to also support linewidths and somehow drop off in opacity. There seems to be a shader compile issue when going into WebXR. It may not be liking the position and colors arrays given.
Error given
Reproduction steps
1.Setup Line2 or LineSegments2
2. Launch into WebXR with the emulator, Rift, Quest etc
3. Shader compile error in the console will appear
Code
or
Live example
Screenshots
No response
Version
r176
Device
Desktop
Browser
Chrome
OS
Windows
The text was updated successfully, but these errors were encountered: