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

Can we change projection into lineMesh using the vertex shader for prespective camera? #2

Open
koolkap opened this issue Apr 20, 2016 · 0 comments

Comments

@koolkap
Copy link

koolkap commented Apr 20, 2016

Right now we calculate the extrusion into the vertex shader based on the normal and milter + thickness and apply to the position attribute.
Since in one of you demo you used direct mat4.ortho for projection I am curious can this be done directly into the vertex shader without changing the prespective matrix.

So like this getNormal(path,{closed: true,directionFacing: true});

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

No branches or pull requests

1 participant