-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
I checked out your code, adapted to my purposes, and noticed that the perspective doesn't seem to be corrected in the vertex shader. The lines further away from camera are indeed getting thinner. I then cloned your repo, played a bit with the view and projection matrices, and noticed that it does the same thing. Any idea what's going on and how to correct for perspective and have lines with constant width?
Also, my code is here https://github.com/skrat/webgl-line-rendering
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
