Keep same line thickness regardless of camera distance

Avatar
  • updated

Is it possible to draw a line and have its thickness stay the same regardless of how far from the camera you are?
Aka: I want to draw a line in 3d space between 2 objects, but I want that thickness to not change as you get closer to the rendered line. 

I assume I can figure out some math for the line thickness to make it wor or w/e, but just seeing if its a native feature first.
Checked the docs but didn't see anything obvious. 

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Avatar
Freya Holmér creator

line thickness has a thickness space setting

If you want it to have a constant world space size, use meters. If you want it to have a constant screen space size, use pixels or noots

you can read more about them here

Avatar
andy web

oh, #duh
That should have been more obvious to me. 
Thanks a lot for the swift reply.
Also, hope your kitties are doing well. They are adorable <3

Avatar
Freya Holmér creator
Quote from andy web

oh, #duh
That should have been more obvious to me. 
Thanks a lot for the swift reply.
Also, hope your kitties are doing well. They are adorable <3

yeah! they're all napping rn