0
\$\begingroup\$

I'm using UILineRenderer to draw curve of the map. The one thing I'm finding is that the drawing is pixelated despite adding more data points. setting the quality in game view to 4K UHD, and specifying smoothing parameters. There are sufficient number of points but the rendering is pixelated.

enter image description here

How can I have MaskableGraphic draw smooth lines?

\$\endgroup\$
2
  • \$\begingroup\$ This looks like a job for a signed distance field, so you can antialias the line in the shader based on the pixel's distance from the edge. \$\endgroup\$ Commented Mar 27, 2022 at 1:14
  • \$\begingroup\$ Have you tried turning on anti-aliasing in the project settings? \$\endgroup\$ Commented Apr 5, 2022 at 18:17

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.