How can I create a line that remains visible at any camera distance?

My goal is to draw an object’s orbit in space, and it needs to remain clearly visible from any camera distance.

First, I create the orbital spline. Then I apply a standard cylinder mesh to it and use a material with “world position offset.”

But in result I have:

Did I choose the correct approach for achieving my goal?
How can I fix the display of my line?

Solution that I had found - HUD.h void Draw3DLine(FVector Start, FVector End, FColor LineColor);

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.