"screen" — the line is exactly lineWidth pixels wide
at every depth. The shader cancels the perspective
divide so distant lines stay the same on-screen
thickness. Default; ideal for technical drawings,
blueprints, UI overlays.
"perspective" — the line is lineWidth pixels wide
at the near plane and diminishes with depth like any
other geometry. The shader lets the perspective divide
do its normal thing. Ideal for 3D wireframes where the
line should read as a physical edge.
How a ThickLinesTechnique interprets its
lineWidth:"screen"— the line is exactlylineWidthpixels wide at every depth. The shader cancels the perspective divide so distant lines stay the same on-screen thickness. Default; ideal for technical drawings, blueprints, UI overlays."perspective"— the line islineWidthpixels wide at the near plane and diminishes with depth like any other geometry. The shader lets the perspective divide do its normal thing. Ideal for 3D wireframes where the line should read as a physical edge.