Screen Projected Lines

Avatar
  • updated

At the moment, all lines (particularly dashed variants) seem to get distorted and folded as they get farther due to  distance and possibly camera projection. We want to give a "computer vision" vibe in our project and this feature is a blocker for us to do so. An example to it is, as you can see it almost look like a screen-space drawn dashes while the entire thing is in 3D. I got the example from https://observablehq.com/@stwind/screen-projected-lines

Image 844

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
HDRP
Avatar
merph

Hi, here is a little video of what I am referring to. Dashed lines in shapes are either 2d or 3d. What we need is having 2d looking 3d dashed lines, that doesn't get affected by perspective projection and all.

Avatar
Freya Holmér creator

could you be a little more specific with what effect you're looking for?