This let the user draw lines closer or further away from the camera
than the line is really in the 3d world.
A good use case for this is making the lines draw always in front of
geometry, or slightly offsetting the line so they can be shown in front
of geometry it shares with other things.
Closes #25.
Note on perspective: I would like to keep the ability to set/unset the perspective independently from the depth_bias. Perspective is a good way to see "where" a line should be even when it always show up in front of other things.
This let the user draw lines closer or further away from the camera than the line is really in the 3d world.
A good use case for this is making the lines draw always in front of geometry, or slightly offsetting the line so they can be shown in front of geometry it shares with other things.
Closes #25.
Note on
perspective
: I would like to keep the ability to set/unset theperspective
independently from thedepth_bias
. Perspective is a good way to see "where" a line should be even when it always show up in front of other things.