-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
shaderMaterial for Line object #681
Comments
Custom attributes are implemented just for meshes and particles so far. I can give a try for lines once we get
|
I can't manage to make a linewidth larger than 1. var lineMesure = new THREE.Line(geometryLinesMesure,/a or b or c/,THREE.LinePieces); Any clue? |
Thanks! |
In fact yes it's possible :) and now I got wide lines on my windows comp! |
Ok, lines can use custom attributes now: http://alteredqualia.com/three/examples/webgl_custom_attributes_lines.html |
Huge! |
cool, just what I was trying for |
My goal is to be able to control a lines vertices and possibly segment colors with custom attributes and shaders. I've seen examples ( http://www.ro.me/tech/demos/8/index.html ) of this done with ParticleSystems, but haven't been able to render lines with similar techniques. This is the basic look I'd like to get, but via shader rather than explicit vertex positions : http://dl.dropbox.com/u/18230908/three_exp/vis_exp_001.html
The text was updated successfully, but these errors were encountered: