adityatan's picture

How to make linewidth less than 1?

Hi guys,

Is it possible to make linewidth less than 1? Thanks.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
JTalton's picture

I believe if you turn on line smoothing it will draw the lines with aliasing and will draw them less than 1 pixel wide. There are issues with this approach and the depth buffer, but hopefully this will get you in the right direction.

GL . LineWidth ( 0.25f ) ;
GL . Enable ( EnableCap. LineSmooth );

adityatan's picture