-
Notifications
You must be signed in to change notification settings - Fork 60
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
newest Three.js compatibilty #61
Comments
I will look at it this week and update the example and readme.
…--mike
________________________________
From: KID <[email protected]>
Sent: Monday, February 19, 2018 10:29:40 AM
To: mikeseven/node-webgl
Cc: Subscribed
Subject: [mikeseven/node-webgl] newest Three.js compatibilty (#61)
Hello, i'm use the three.js v0.90.0 and my node version is v8.9.3.
I can run the example's code successly and show the graph, but when i use three.js, it will happen error.
I try to find the question, at lease...
gl.MAX_VERTEX_UNIFORM_VECTORS
gl.MAX_VARYING_VECTORS
gl.MAX_VERTEX_ATTRIBS
three.js need the three attributes at init, and them is undefined.
I set them to a number temporarily, and continue...
Then, the console tell me a new error:
THREE.WebGLProgram: shader error: 0 gl.VALIDATE_STATUS false gl.getProgramInfoLog ERROR: One or more attached shaders not successfully compiled ERROR: 0:52: 'highp' : syntax error: syntax error ERROR: 0:117: 'highp' : syntax error: syntax error
The README let us add the code in fragment shaders:
#ifdef GL_ES
precision highp float;
#endif
I don't know how to add it to the three.js, Is it related to this error?
The node-webgl is an amazing and valuable project, can you add an easy example to display how to run it with three.js ?
I hear you're busy in other issue, about this project, is a roadmap or plan ?
:)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#61>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAxYLCl9QLLnZKS1AlMmrkwVa6pOBhwrks5tWb2UgaJpZM4SK9CN>.
|
thank you very much ! |
Were you ever able to find time to do the readme/example updates? |
oh sorry, I completely forgot. I put this issue on top my list for next week...gotta catch up with latest threejs. |
@mikeseven Any update on this? :) |
Hello, i'm use the three.js v0.90.0 and my node version is v8.9.3.
I can run the example's code successly and show the graph, but when i use three.js, it will happen error.
I try to find the question, at lease...
gl.MAX_VERTEX_UNIFORM_VECTORS
gl.MAX_VARYING_VECTORS
gl.MAX_VERTEX_ATTRIBS
three.js need the three attributes at init, and them is undefined.
I set them to a number temporarily, continue...
Then, the console tell me a new error:
The README let us add the code in fragment shaders:
I don't know how to add it to the three.js, Is it related to this error?
The node-webgl is an amazing and valuable project, can you add an easy example to display how to run it with newest three.js ?
I hear you're busy in other issue, about this project, has a roadmap or plan ?
:)
The text was updated successfully, but these errors were encountered: